Reputation: 1564
I have testcases 1 to 10 like,
testcase1
.
.
.
testcase2
.
.
.
testcase3
.
.
.
testcase(n)
I want to give rerun of testcases from 5 to 9. I am using following command now:
"pybot -t testcase5 testcase6 testcase7 testcase8 testcase9 example.robot"
Instead, how to specify this with range like "testcase5-9"?
Upvotes: 1
Views: 414
Reputation: 6935
You can't specify range in command line options.
What you can do in described in the section Using command line options of the User Guide.
So for example, what you can do is pybot -t testcase* example.robot
but that will run all your tests.
Options you have:
-t testcase_a*
Upvotes: 2