sangmingming / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

how to run multiple test cases in an order and get result #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

how to run multiple test cases in an order and get result

Original issue reported on code.google.com by Tashfeen...@gamevstudios.com on 28 Aug 2011 at 7:53

GoogleCodeExporter commented 9 years ago
Please download the example project and see how it is designed. There the test 
cases are run in order. 

Original comment by renasr...@gmail.com on 29 Aug 2011 at 5:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm having same issue.

In example given (NotePadTest) they run in alphabeticly order (A - > Z) and 
this is why example is in right order. How can we set order if we want to use 
custom order?

I have four tests:
-testOne
-testTwo
-testTheree
-testFour

If I run this first testFour will be run and later others.

Another question. Do I have to use "test" in every test function to work? I 
tried custom names and didn't work.

Thanks.

Original comment by tomaz.bu...@gmail.com on 29 Aug 2011 at 1:35