[Gem] TAP Report Parser
This gem parses a TAP report per the specifications listed on https://testanything.org/tap-specification.html. Each of the tests has six attributes:
numberis the test number. If the
numberis not present, the parser maintains its own count.
descriptionis the text describing the test. If the
descriptionis not present, then its value is an empty string.
statusis represented by one of the four values:
success(when test is passing),
failure(when test is failing),
skipped(when test is marked as skipped irrespective of success or failure), and
ignore(when test is marked as todo irrespective of success or failure).
directiveis either skipped or todo.
diagnosticis a YAML block or text. If it is YAML then its value is ruby Hash, otherwise, string. If the
diagnosticis not present, then its value is an empty string.
- The value of the
trueif test status is either