Click here to Skip to main content
15,301,841 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Team,

Here i want to know how to execute the Test cases as my wish. because i need to change the order for run the Test.

Example:

testda1
testmnd2
testdsf3

But Expected
testda1
testdsf3
testmnd2

Please Help me to Fix this.
Posted
Comments
F-ES Sitecore 17-Jul-15 8:06am
   
If the order is important then your tests aren't coded properly.
[no name] 17-Jul-15 8:18am
   
As said if you are depending on the order of execution, you are doing unit testing incorrectly. You can do what you want by creating a test that executes the functions you are testing in the order you want. A better solution is to just do it correctly to begin with.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900