Reputation: 65391
We do not have VS Test Edition. So we are running tests by specifying the dll which contains the tests:
<TestContainer Include="$(OutDir)\%2a.Test.dll;$(OutDir)\%2a.Tests.dll" />
This works OK, except for the Integration tests that need to read information from the configuration file (App.config)
Is their a way to specify the configuration file? Or a better way of doing it?
Thanks
Shiraz
Upvotes: 0
Views: 645
Reputation: 12546
You can simply add a RunConfigFile property to the build as follows:
<RunConfigFile>$(SolutionRoot)\LocalTestRun.testrunconfig</RunConfigFile>
Upvotes: 1