scottcorgan / tap-out

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

test strings with a number are not recognized #14

Open thisconnect opened 8 years ago

thisconnect commented 8 years ago

using something like tape test.js

TAP version 13
# commit one time
ok 1 all good?
# commit times2
ok 2 still good?
# commit 3 times
ok 3 WHOOT!
# commit *4 times
ok 4 good

with tap-spec tape test.js | tap-spec will output something like

  commit one time

    ✔ all good?

  commit times2

    ✔ still good?
    ✔ WHOOT!

  commit *4 times

    ✔ good

It seems as the result regex is matching, and result test is before type test check. https://regex101.com/r/iF6vM2/2

scottcorgan commented 8 years ago

I have been working on a collection of packages under the org tap-format as sequels to my few tap-[formatter] modules.

https://github.com/tap-format/parser will be the replacement for this. It's basically done, just needs documentation.

thisconnect commented 8 years ago

Will the neq parser be used in tap-spec?

scottcorgan commented 8 years ago

Yes it will. Except that eventually, tap-spec will go into maintenance mode in favor of it's predecessor: https://github.com/tap-format/spec. This module will do the same exact thing, except cleaner output and more stable.