Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/tapjs/tapjs

Test Anything Protocol tools for node
https://github.com/tapjs/tapjs

Add { bail: true } to example script

30697e815d3841bed7c741abde84e07278a11bc8 authored almost 10 years ago
Verify that a pass after a failbail is not seen

879ada9dacef07e749c9c3f47a5cae3dc78a82a5 authored almost 10 years ago
Aggressively bailout on first failure if --bail is set

Also support `{ bail: true }` in the options passed to t.test and
t.spawn.

fe7f460e7b1d9856280c5a7831a35521b6b7801c authored almost 10 years ago
v1.0.0-beta.3

eda9a483b3b9655d1c8bade711d886929e6d501d authored almost 10 years ago
Allow timeouts for t.spawn()

This also means that the only place that needs to know about
env.TAP_TIMEOUT is the bin/run.js f...

696ec8cb5e79ab8cbbd58883055cebe7a9e41ee2 authored almost 10 years ago
test(): We usually pass options.at, so accept if so

ed72a4ddf3e0183d794b3bbad9a60ee4256d9bdf authored almost 10 years ago
organize where timeout logic lives

Move out of ctor and into a standalone method

1ce6944ee0fd67fbfad370f4ea5c8d45650feacc authored almost 10 years ago
test: Don't use the test() cb as the extra.source

It's WAY too noisy, especially when a deeply nested child fails, and
then bubbles up through par...

8478e8023d60f77d97ad12502889f598ccb1f00f authored almost 10 years ago
More thorough cleanup on timeout

6ff62e1c73589f0377ff49b7333b4784f3a43850 authored almost 10 years ago
ok test: tired of these two timeouts swapping order on me

de06261e2f16867b46a543c0082ed657033f3d87 authored almost 10 years ago
stack: Capture cwd at outset, since it may change

7b5a1c863252e9da73a4cecc4e4c6874d58331af authored almost 10 years ago
two more todo items

62c6582cce1a41ac75351ae63062c5eee1d70df1 authored almost 10 years ago
v1.0.0-beta.2

c8a76cadeb9e0b517fb8cb41492cef3b64db8f9f authored almost 10 years ago
last few TODO items

372bbd791655afe2bafa3ba9e967bfbaa3807c1f authored almost 10 years ago
test with using t.same

This one generates some nice diffs with the -Rclassic reporter

dcb18aac2713ad1d71241fb39ddd84ef5778f80b authored almost 10 years ago
Support gnu-style concatenated short opts like -cRspec

6fbeb645d7822dbcb4f42accbb15f2dba8128690 authored almost 10 years ago
Don't overwrite _currentAssert

This was messing with the stack and 'at' diags on asserts that
call into some other assert, like...

3328fec32b2138968304e44522084a346a81f65b authored almost 10 years ago
test: Emit end much more immediately

This introduces an interesting and, in my opinion, preferable change in
semantics, by making the...

9783381875540528de1273e29aa5788fa27c3b72 authored almost 10 years ago
Don't indent blank lines in yamlish diags

0b2966dfa222adc816ab299d314375a884987fed authored almost 10 years ago
take cwd out of stack trace frames more thoroughly

592ef17405b982bc1857a2ec4f2bcd10c9c84160 authored almost 10 years ago
debugger test: Use t.fail instead of throw

Throwing is only handled well within a test, not at the root

That's something that should proba...

0a2afcb079a39b1cdacdf3e63a0b6e98934578a6 authored almost 10 years ago
v1.0.0-beta.1

cf77e9922eb134124f82a868dd7cdba707bd7ddb authored almost 10 years ago
Remove tap 0.x

It had a pretty good run. But now, it's...
~puts on shades~
not ok.

30c9a0ced753be63fd57b994cfbe8d9e52041905 authored almost 10 years ago
update test-test

This test is kind of redundant, but it was a nice check to
verify backwards mostly-compatibility

01a84c206583b61b73004efc76e1bbaeb2b1eee3 authored almost 10 years ago
Remove outdated tests

1d4cde7b1bf6336bd68f7f3a892774765d35f069 authored almost 10 years ago
Remove outdated meta-test

992ef8ae4b2766035bc3818e598c285b27dc2140 authored almost 10 years ago
Stronger faster better timeout test

af131f210fa6806c8e8c9316e945f49a27dfec1b authored almost 10 years ago
Show source in diagnostic output

7c1e2023d3f67f6f9b59f6f09dd3d3cb4a42e7e8 authored almost 10 years ago
v1.0.0-beta.0

ae82ddf2f832d29b3acd72831048126a8edb7fb7 authored almost 10 years ago
v1.1.0

ce376baa7504bf709575c7a58ecda4295ac405ce authored almost 10 years ago
Emit a 'line' event for each line

The better to debug tap parser/formatter libs

a78c2f3d5384a0734143841145113ed47e0b59a4 authored almost 10 years ago
Don't indent blank lines in child tests

d57fc1299d748f8323eb9bcd4db394cf982e17a2 authored almost 10 years ago
Ensure output is immediate, the better to contextify the console

1f1a4213bcd833dca15aeee2b5b4c8c44bbe26be authored almost 10 years ago
Various minor cleanups to diag objects

Don't show spawn() options unless some were set.

Always print stack trace last

Allow anything ...

bf32e2e2db145df63a3c50baf810835205f34b2a authored almost 10 years ago
endAll: Child might not be a Test, don't call unless there

2fc1d1635e87d5c9e4064bf5aa97d164b14f8cff authored almost 10 years ago
Ignore EPIPE errors, just quit

939af051eae29ed713f4eba44041acda47f5e318 authored almost 10 years ago
don't spawn() for todo tests

c988c42b51c652904b3d21f7afd53527472bb452 authored almost 10 years ago
t.stdin takes name and extra params

fcfa82cd1f1ef105fd67316fd56e85d1ea7cf70d authored almost 10 years ago
expose synonyms, mocha, and Test on root export

c08537ecdcaa68ccf1708dba8dfec4e028e0cf72 authored almost 10 years ago
update documentation

a97848e3263e7b30693428ef92608496d17303f3 authored almost 10 years ago
typo

10189569e3c703688c0225035c8ead8121d2f683 authored almost 10 years ago
Better usage() behavior

94409de243c9bc7d7856799ff088ec641f8758e2 authored almost 10 years ago
an example with lots of tests

69e50a12c9ca00311857ee741e41ca2a73b0bdd2 authored almost 10 years ago
Don't load reporter until we set TAP_COLORS property

1e737dd694d8f099f59c78e19e73ebb569e0ffd3 authored almost 10 years ago
Support piping into runner to do reporting

90abd45a4e9811120037dd29698200a6589fdfa4 authored almost 10 years ago
Add function for consume TAP from stdin

13037a6d7bb48a84291f21cc5e9928207b377e2b authored almost 10 years ago
Explicitly end root tap object in runner

26df39a2f93024fe8199c0334fb78998157cb0d2 authored almost 10 years ago
Remote cwd from stack and call site filenames

fec33b3a610012005049d7fae3433b25a4c2a3e1 authored almost 10 years ago
clean up tests some more

784ee1f71c2cc459b2da6a8a422b935b9dae0351 authored almost 10 years ago
move skip test into test/test where it belongs

ec0102eca37275b6cf39828e5d1f5d1c37cd25c6 authored almost 10 years ago
Add tap-mocha-reporter, and bring back various cli args

963b2bdd36f6463cbcbd2e375b74001c2654dc57 authored almost 10 years ago
Don't look for time if results is undefined

b50e4af8858a1c09e4565e90eff5e228de967d2e authored almost 10 years ago
use exit-code rather than sniffing node version

5ae8adafa36bcc371ef1c4e5b874591aca093549 authored almost 10 years ago
Support passing expected error to t.throws()

e63dbc162b16242172743bce711f0ff66b588cb8 authored almost 10 years ago
Clean up stack traces

This removes a huge source of excessive noise. You almost
never care about the fact that a stac...

c91b30ea64f6688cea57ff1cf570a35d896549e8 authored almost 10 years ago
v1.0.0-beta

set the bin and main fields.

This is actually kinda useful now. Still todo:

1. Coverage
2. In...

6d2fb79c06718ebb9d580a969ee6009c5e2b939a authored almost 10 years ago
root: use process.exitCode instead of process.exit()

4a9e26df924855b3ada23496b92e5d9b96a9cbf0 authored almost 10 years ago
run.js: walk directories

d8f62cc42b4c166d4078ec6a004d42b90675f68e authored almost 10 years ago
Use folded/literal yaml scalars for error stack traces

So much more readable.

bfd03c0114a4f9d60f1537181d9faec19d4452ad authored almost 10 years ago
pass child stderr to stderr, not the parent test

For tests, standard error should be sacrosanct.

097cb14d9cd575132a1b2bd1ab791bca79125883 authored almost 10 years ago
Don't try to run things that aren't runnable, or javascript things that aren't javascript

88a7485829bb31567901657976d005f4359eda4b authored almost 10 years ago
tests MUST output at least one TAP result now, or they are failures

ca0570501a9d316235ce337d36d07b071ee17e0c authored almost 10 years ago
allow debug-test to be run directly

ca87e1fe290d40758f62242b61ae0b2530e72dcc authored almost 10 years ago
move non-tap-output into test/test where it belongs

d5c69ec9097fe7c0e366da7118ae946bef7e244d authored almost 10 years ago
v1.0.4

040f4a43af2e1153883bf32d8c4604861dcbbeef authored almost 10 years ago
Allow extra/comments to appear in the midst of child results

6e92e45af84c5a608effa53ec69317e1392910e7 authored almost 10 years ago
Add space in spawn()'s #time directive

dbed092a63896d05ffcde0094578345db290bd11 authored almost 10 years ago
test/test: Handle test cases with multiple regexps

05d812fc900349ab5c4123147afe1b19a1bae4f4 authored almost 10 years ago
new runner cli

41e6ba8cbb7b58325aa4366fef78bfc1d55dbd05 authored almost 10 years ago
Consistening timing reporting, and more mocha-like additions

Report all time info with a '# time=##ms' style, according to
https://github.com/TestAnything/Sp...

bd0f487366ed9f28f026137cdb4efc29f9207831 authored almost 10 years ago
Support time=... directive for test timing

227574734899c1a07a12a57e260a8c20e6eaa88d authored almost 10 years ago
test/test: hide stderr stuff in fixture tests

dbe786b7d053e098e67160e41442d28d5a460ab8 authored almost 10 years ago
Don't make noise about capturing timerAt in Test ctor

007aa4e4a3aaed8a61c1eb10f269f69f8d178c54 authored almost 10 years ago
Properly handle timeout errors, and count correctly

141eec5218c25e29d40d59b9d23fe2f62733109a authored almost 10 years ago
add Test.endAll() for handling timeouts better

c4aae7abd9e1abc7497e0cf2b9734e35fe241043 authored almost 10 years ago
TAP_TIMEOUT env is in seconds, not ms

Before launch, probably need to just go ahead and change this. I doubt
anyone is depending on i...

434414e86334d937f8c74c6cea9b9c2cad363502 authored almost 10 years ago
Don't mark test tests as todo if the output had # TODO in it

a69c4e2e1978c5611fab1d7b220c822d13d96cda authored almost 10 years ago
support infinity timeout

74e96c54dc94709b62820711a03b5d675afb5938 authored almost 10 years ago
test with console.log

c3fdb8236adfb86e99b88982b6064379d8254a52 authored almost 10 years ago
v1.0.3

7d78e52a935142ebcd1740ff5ac2eb2fdb32a010 authored almost 10 years ago
Properly handle plans like 1..1 where end == start

03406e8755b2f8697fecdb879b96361bcba2475e authored almost 10 years ago
support test timeouts

6cd663d84a2330e3b7be225165b773fc9b2ecf39 authored almost 10 years ago
treat t.spawn() output more like t.test()

b3af0e9e517b5ee0d2c555df513537a7419c1ea4 authored almost 10 years ago
remaining assert tests and minor bugfix

52c4fcb0520e7f1c06cb0702041d0701cdd9f80b authored almost 10 years ago
handle non-zero exits in test/test and clean up some typos

8180f2f02bf23b8c9e37d0ecb92ce51f1f230143 authored almost 10 years ago
end root-spawned subtests on process exit

The better to report failing plans with.

Thanks to @iarna for calling out

cfeee4cfb443d96dd6b8d8104e63b24cf4b35146 authored almost 10 years ago
tests of all the assert types

08a1e8d5566909078fc92fe2212f12779ddebb25 authored almost 10 years ago
v1.0.2

34dae091fd99e6ecb52290258176686795aa67e1 authored almost 10 years ago
Pass 'Subtest:' comments to the child subtest

9a63fdea2b2fcbd9e9dca0c4c0fc3c2d3844db03 authored almost 10 years ago
Comment child test more like Test::More

Instead of commenting at the parent level, make the comment the
first thing in the Child test le...

c7669c3990bd8530d4942df64d76b83ae9af3195 authored almost 10 years ago
Treat missing t.test() cb as a todo

Also a test that does some funky mocha-like stuff.

0f9717af432225ff2dafe3f7895565ca7cd21580 authored almost 10 years ago
upgrade tap-parser to 1.0.1

85d5e03436cff51e91b36ef445f0e1163bf49573 authored almost 10 years ago
pass extra info through, even on successes

Otherwise we don't know when an 'ok' test is todo/skip

fd7ce902d029cc8974e9aef279a3954c77122058 authored almost 10 years ago
clean up t.spawn() output

95f15e936ed2c84c6c17c6afa3ed7c83eb0ded62 authored almost 10 years ago
v1.0.1

cee61760d595e6a0dd5844c2741d0a0c3fd32be1 authored almost 10 years ago
skip should be always ok, like todo

530e197c97ab9288b5005bdec312b7bfc2d0bf9a authored almost 10 years ago
set dir properly in test/valid-command.js

426523d38ededf4dd4a88081fbabf75bafdb2ed5 authored almost 10 years ago
Document bailout

4590bb7345b9a01b589fb827240c13b561807bcc authored almost 10 years ago
Use tap-parser module instead of built-in consumer

be2397a0dbd8ef93059e5c07a4a58c984cfda0f8 authored almost 10 years ago
v1.0.0

eb92cda34f0702f5f40576403c8b1cd23c361d01 authored almost 10 years ago