Description
Tags are named execution sets created by etlunit after a test run. After every test, a tag is created which matches the runtime identifier, with the following sets:
Set name | Contains |
---|---|
all | Every test method selected |
success | Every test method which succeeded |
fail | Every test method which resulted in a failure |
error | Every test method which caused an error |
failError | The union of the fail and error sets. |
In addition to the named tags, after every test a tag is created named 'last' which is a copy of the last tag created.
Named Tags
There is a cli command, tag, which allows you to name the next test run - and it is only good for one run. So, the following sequence:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
>tag next
>test . . .
. . .
>test <next,error> |
The command on line 4 would execute all tests which caused an error in the run on line 2.