We do not have VS Test Edition. So we are running tests by specifying the dll which contains t开发者_如何学JAVAhe 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
You can simply add a RunConfigFile property to the build as follows:
<RunConfigFile>$(SolutionRoot)\LocalTestRun.testrunconfig</RunConfigFile>
精彩评论