docs
docs copied to clipboard
Document the `--configfile` option for the console runner added in 3.8
There was an issue with loading config files for in-process runs in 3.16.x of the console runner (https://github.com/nunit/nunit-console/issues/1390). Some investigation found that a past feature to specify the config file on the command line was added as far back as v3.8 of the console runner but never documented (outside of the release notes)
It was added in PR https://github.com/nunit/nunit-console/pull/348 to resolve issue https://github.com/nunit/nunit-console/issues/246
It expects to be passed in the format --configfile=custom.app.config
I'm unsure where all it may be helpful to document. The existing pages I looked at for this info but didn't find it were:
- https://docs.nunit.org/articles/nunit/running-tests/Console-Command-Line.html.
- https://docs.nunit.org/articles/nunit/technical-notes/usage/Configuration-Files.html