Uh oh!
There was an error while loading. Please reload this page.
Replace tape with tap - #1171
Conversation
bnoordhuis
commented
Apr 11, 2017
Thanks, this is great! I wonder though, does |
NatalieWolfe
commented
Apr 11, 2017
Correct, |
bnoordhuis
commented
Apr 11, 2017
Yes. |
NatalieWolfe
commented
Apr 11, 2017
Is it possible to move the tests which need isolation into individual files? Which tests need this? I can look into doing that step as part of this ticket. |
bnoordhuis
commented
Apr 11, 2017
I'm going to say 'all of them' - it's not really true but isolation never hurts. It's my original plan of attack for #1123. |
NatalieWolfe
commented
Apr 12, 2017
Is that necessary up front? That seems like the kind of thing that could be resolved on a case-by-case basis when colliding tests are discovered. Moving individual tests into separate files isn't that hard, but seems like overkill if you don't actually need them isolated. |
bnoordhuis
commented
Apr 12, 2017
Such things tend to go unnoticed, though. I raised #1123 after I found two unrelated tests had been clobbering each other undetected for some time. Another anecdote: a project I was involved in had a bug caused by lack of isolation that stopped half the tests from running but it went undiscovered for a year because the CI was green all the time. |
| }, | ||
| "scripts": { | ||
| "test": "tape test/test-*" | ||
| "test": "tap test/test-*" |
refack
commented
May 15, 2017
@NatalieWolfe do you need help? I can help... |
maclover7
commented
Jun 8, 2018
ping @NatalieWolfe |
rvagg
commented
Jun 20, 2019
needs to be updated, either @NatalieWolfe needs to revisit or someone else should open a PR, I'd +1 on merging this if it was ready |
cclauss
commented
Jul 12, 2019
@NatalieWolfe Is this already done elsewhere or is there more to do here? |
richardlau
commented
Jul 12, 2019
This was done in #1795. |
The tap module is a more fully featured TAP framework that executes its tests in separate child processes.
Resolves#1123