-
Notifications
You must be signed in to change notification settings - Fork 152
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
No way to specify app.config with console runner #246
Comments
If you don't use any command-line option, then nunit uses |
@CharliePoole yes it can work, but the problem is that we would like to not copy 800 identical .config files (for the 800 dll's), so while we do have a kind of work-around, it would be great if you could specify this on the command line. This is for easier use in automated harvesting scripts that we use. Sorry for opening the issue in the wrong project. |
Another issue is when you mention multiple dll's on the command line. As far as I can see no app.config is loaded in that case. |
I see the problem. It would not be out of the question, in my view, for us to add a WRT multiple dlls on the command-line, we should be using the properly named (test.dll.config) file that is located in the same directory as the assembly. If not, it's a bug. |
I've labelled this as a feature to go on the backlog. It makes sense to me that you can access this functionality, which already exists for using in NUnit projects, directly from the command line. @nunit/engine-team - please shout up if anyone disagrees! @cyanite - providing nobody objects, would you be interested in doing a PR for this? The functionality in the Engine already exists, it should just be a matter of exposing that to the command line, I think. |
it would be great if nunit can include app.config in the command |
…p.config files - Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
…p.config files - Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
…p.config files - Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
…p.config files - Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
…p.config files - Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
- Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
- Modified NUnit3Settings class to support new ConfigFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
* josiahpeters-josiahpeters-feature/GH-2297: GH2297 - Extended NUnit3Settings to support alternative app.config files - Modified NUnit3Settings class to support new ConfigFile property that maps to --configfile=app.config for the nunit-console runner - In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file. - Here is the new 3.8.0 feature: nunit/nunit-console#246
@cyanite commented on Tue Jun 27 2017
Using nunit-console runner on individual dll's, there is no way to specify the app.config file to use. To do that you have to create an .nunit file and use configfile="app.config". There should be a command line option to do this.
We have a huge number of dll's which require assembly redirects and we don't have config files written for each of them, but only for our executables.
The text was updated successfully, but these errors were encountered: