1
Vote

Problem with testrunconfig

description

Hi,
 
I used tlg.exe to generate a .vsmdi file for my test project and expereinced a problem.
 
I tried to use -c to specify the testrunconfig file name, but it always uses storage="ocaltestrun.testrunconfig" in the generated .vsmdi. e.g.
<RunConfiguration id="5b27d636-1ffb-4592-8872-eb34e2d09d24" name="Local Test Run" storage="ocaltestrun.testrunconfig" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common, PublicKeyToken=b03f5f7f11d50a3a" />
 
Then I changed my testrunconfig file name to ocaltestrun.testrunconfig and run mstest. But it seems the testrunconfig is not loaded correctly because the test fails due to lack of referenced dlls, which should have been specified in the testrunconfig. I use the command as follows:
MSTest.exe /testmetadata:generatedTestList.vsmdi; /testlist:Included"
 
Did I use the generator in a wrong way or there is a problem with the tool?

comments