This question is locked. New answers and comments are not allowed.
The webapp I am testing requires logging in to the application. I force every test to log in using a test I created and then insert in to every test as a "Test as Step"; it is the first test step in all of my tests.
My login test includes another test "envrionmentswitch.tstest". This test allows me to switch between my environments by hand (soon to be programmatic). The chain of tests in my test app structure is:
envrionmentswitch.tstest
login.tstest
<functional test>.tstest
At one time, I had named "envrionmentswitch.tstest" as "envrionment switch.tstest" (see the space between words). MSTEST is still trying to reference "envrionment switch.tstest" (with the space) when executing my functional test. However, because that file no longer exists the test fails immediately. I get the error:
Warning: Test Run deployment issue: Failed to get the file for deployment item '..\..\common\environment switch.tstest' specified by the test '<testname>':System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\CruiseControl\Automation\common\environment switch.tstest'.
Is there a way I can clear the MSTEST cache? I have searched for the answer online and cannot seem to find anyone with a similar issue.
My login test includes another test "envrionmentswitch.tstest". This test allows me to switch between my environments by hand (soon to be programmatic). The chain of tests in my test app structure is:
envrionmentswitch.tstest
login.tstest
<functional test>.tstest
At one time, I had named "envrionmentswitch.tstest" as "envrionment switch.tstest" (see the space between words). MSTEST is still trying to reference "envrionment switch.tstest" (with the space) when executing my functional test. However, because that file no longer exists the test fails immediately. I get the error:
Warning: Test Run deployment issue: Failed to get the file for deployment item '..\..\common\environment switch.tstest' specified by the test '<testname>':System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\CruiseControl\Automation\common\environment switch.tstest'.
Is there a way I can clear the MSTEST cache? I have searched for the answer online and cannot seem to find anyone with a similar issue.