-
-
Notifications
You must be signed in to change notification settings - Fork 44
Feature - Make output directory configurable #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Implementation available here for testing. Not yet released. Add the AllProjectsCoverageOutputFolder property to any of the test project proj files.
Path can be absolute or relative but do not use msbuild properties to construct the path. |
This configuration option seems to work. However I do have a question regarding the fine-code-coverage/build-output directories. Last I was wondering if it were possible to set the target for opencover, as it would be nice to set this to our locally installed nunit3console exe |
We decided to change the method for configuring this output directory. It did not feel correct for a project to identify the directory that applies for all test projects. So this has been replaced with.
This is doable for sure. An additional vs option to the exe file that you could also set on a project basis if desired.
I am sure there was a good reason for doing so but off the top of my head I cannot remember what it was. Perhaps @FortuneN can help on that. |
Latest vsix that will be released to marketplace shortly. |
Would you be looking to add additional nunit console options ?
If you could tell us why they don't work then perhaps we could help ? |
For now just setting the target testing framwork for opencover would be enough. This is the target parameter for the opencover command.
These tests make use of external files not part of the solution. For instance a directory filled with a testing database, configuration files etc. |
Could we provide an NUnit Console test parameter that you could use to adjust your paths ? |
I think the reason we copied the build output was due to file locking issues |
The latest version has an option AdjacentBuildOutput that should keep relative paths in tests working. I will open a new issue with regards to changing the target. |
Current behavior
Fine Code Coverage outputs its coverage files in a directory near TestDllFile's location.
This is not configurable at this moment
Expected behavior
Fine Code Coverage outputs to a configurable directory
The text was updated successfully, but these errors were encountered: