integration testing - How to run tests in random order with robotframework maven plugin? -
i trying run robotframework testcases eclipse robotframework-maven plugin. can tell me configuration of pom.xml run testcases according given order instead of alphabetical order? example, have following tags in corresponding test suites:
testsuit1---> testcase1.robot -- >mytestcase1 [tags] testcase2.robot --- >mytestcase2 [tags] b testcase3.robot -- - > mytestcase3 [tags] c
i want executes above test cases random order. if write in pom.xml
<includes_cli>b,a,c</includes_cli>
it executes tests according alphabetical order instead of given order. can have solution that?
br, dew
you can use --randomize option execute test cases in random order below:
case 1:
robot --randomize tests <testcase1.robot>
tests: test cases inside each test suite executed in random order
case 2:
robot --randomize suites <path/to/testsuite>
suites: test suites executed in random order, test cases inside suites run in order defined
Comments
Post a Comment