tape-testing / faucet

human-readable TAP summarizer
MIT License
551 stars 25 forks source link

assert out of order #13

Open tcurdt opened 8 years ago

tcurdt commented 8 years ago
tape -- tests/*.js core/tests/*.js plugins/*/tests/*.js | faucet

gives me not ok <number> assert out of order while this gives

tape -- tests/*.js core/tests/*.js plugins/*/tests/*.js
...
1..115
# tests 115
# pass  115

# ok
jdrew1303 commented 7 years ago

Hey @tcurdt Im getting a similar issue when running test concurrently by spawning child processes. See here for my comment on #215 in the main tape repo

In your case if you use a glob pattern that handles all cases then you should be good to go (YMMV). Something like: {tests,core/tests,plugins/*/tests}/*.js might work. Im not sure if glob supports brace expansion or not.

Let me know if this helps 🙋🏻