Saturday, 15 March 2014

visual studio 2012 - How to turn off test deployment in VS2012 -



visual studio 2012 - How to turn off test deployment in VS2012 -

i'm annoyed .\testresults , test deployment mess. i'm trying turn off, nil works. here:

consider running unit tests straight in build output directory, testing runs more rapidly. useful on build server after have checked in tests. to this, add together .runsettings file solution, include false, , select file in test, test settings menu. same effect occurs in test run in deploymentitemattribute not used @ all. however, cannot avoid using deployment folder if using .testsettings file, required web , load tests, coded ui tests, , test in deploy application remote machines.

i tried create empty solution c# unit test project contains single unit test file single line in it: string text = file.readalltext("test.txt"); , guess looks file? c:\code\testdeployment\testresults\ilonely_ilonely-pc 2013-02-17 13_33_37\out\test.txt

i tried add together test.runsettings file solution, described here:

<!-- mstest adapter --> <mstest> <mapinconclusivetofailed>true</mapinconclusivetofailed> <capturetraceoutput>false</capturetraceoutput> <deletedeploymentdirectoryaftertestruniscomplete>false</deletedeploymentdirectoryaftertestruniscomplete> <deploymentenabled>false</deploymentenabled> </mstest>

i selected through test -> test settings -> select test settings file, ran tests... , result same.

can explain me how run tests output\bin{configuration} folder?

important: don't have .testsettings file, don't utilize deploymentitem attribute.

i figured out resharper issue. when run test vs runner, works fine, runs output\bin{configuration}. when run test resharper runner, runs deployment dir no matter do. now, question is: how command mstest deployment resharper test runner?

visual-studio-2012 resharper mstest

No comments:

Post a Comment