It would be nice to run part of test according to specified tag. I have test cases with many phases and when one of these fails it is impractical to run all phases or comment all useless parts. This feature will always run setup and cleanup task, bug will excluded tasks with specified tag. Example: ======== # cat test.sh rlJournalStart rlPhaseStartSetup ... rlPhaseStartTest "TEST 1" rlTag "test1" ... rlPhaseStartTest "TEST 2" rlTag "test2" ... rlPhaseStartCleanup ... rlJournalEnd # ./test.sh --tag=test1 will be run: setup task test "TEST 1" cleanup task # ./test.sh --tag=test2 will be run: setup task test "TEST 2" cleanup task # ./test.sh --tag=all will be run: setup task test "TEST 1" test "TEST 2" cleanup task Or running of multiple tags: # ./test.sh --tag=test1+test2 will be run: setup task test "TEST 1" test "TEST 2" cleanup task
Let's discuss this topic in the original RFE. *** This bug has been marked as a duplicate of bug 508650 ***