scottcorgan / tap-out

A different tap parser
MIT License
23 stars 28 forks source link

Considers everything with a # a new test block #31

Open dhershman1 opened 5 years ago

dhershman1 commented 5 years ago

In a lot of tap instances the # is used to represent a comment of some kind.

tap-out seems to also consider this, but the regex to identify these is also being used as a "title" identifier.

So for instance:

# -- command failed --
# status : 127
# output : /opt/bats/libexec/bats-exec-test: line 58: foobar: command not found
# --
#

Each line with a # text Would be counted as a new test suite. Luckily not an assertion. However This still messes with actual test suites and their naming convention.

This has no effect on tape since it uses --- to separate out comment sections.

Is there something I can be doing on my end?

(For full context please see this thread: dhershman1/tap-junit#23) (Is the bats not outputting tap correctly and the issue falls into that court? I just don't know!)

Thank you!

Pixcell commented 5 years ago

Hi, Any way we can get this issue moving forward ? Thank you !