I am running MSTest.exe without any problems if I do not specify a /runconfig file. However, as soon as I specify the config file (which is the exact same file, but in a different location), the test outputs the following:
Loading C:\myapp\conf\unit-test-local\App.config...
C:\myapp\conf\unit-test-local\App.config
C:\myapp\conf\unit-test-local\App.config
If I run the command without the /runconfig, it runs properly and displays:
Loading C:\myapp\src\UnitTests\bin\Debug\UnitTests.dll...
It's definitely finding the App.config file because if I purposely type a bad file name, it complains. The App.config in my conf directory is an exact copy of the one that is used if I do not specify the /runconfig.
/runconfig
is not referring to the app.config
file but on the *.Testrunconfig
This file contains several settings regarding the way you want your tests to run.