Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 nameContains
allEvery test method selected
successEvery test method which succeeded
failEvery test method which resulted in a failure
errorEvery test method which caused an error
failErrorThe 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
languagebash
titleTags
linenumberstrue
>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.