I have an ordered mstest (.orderedtest) and every time I try to run it mstest executes it not from output directory (bin\\debug) but from TestResults...\\out directory. This is the real problem because tests use some files from solution directory and I don`t want to copy them every time before test run. Thanks in advance.
Ps1 Any test outside of ordered test runs fine
Ps2 <DeploymentEnabled>False</DeploymentEnabled>
didn`t help
You can priorities test methods like below.
This test case will execute first
[TestMethod]
[Priority(1)]
public void TestMethod1()
{
}
This test case will going to execute just after TestMethod1
[TestMethod]
[Priority(2)]
public void TestMethod2()
{
}
If you will not provide test case priorities then it will going to execute after all priorities test case execution just like below TestMethod3 example.
[TestMethod]
public void TestMethod3()
{
}
Same i am doing in Windows Store (metro/WinRT) apps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.