Ecosyste.ms: OpenCollective

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

github.com/avajs/ava

Node.js test runner that lets you develop with confidence 🚀
https://github.com/avajs/ava

Bump hullabaloo-config-manager

941c42e562988a1522cd5b27c430b80936bc679e authored almost 8 years ago
Make snapshots usable again

* Make the Runner manage the snapshot state. Thread an accessor to the
`t.snapshot()` assertion....

57fd0510f347bfa9655affffa1c64fd3eb1836cd authored almost 8 years ago
Refactor Runner

* Don't mix option chain with the prototype, simply expose it on the
instance. Actual code only ...

48b892af02342a45ad668edef4eb95b73bd2ac01 authored almost 8 years ago
Remove mention of stage-2 in readme (#1325)

f23c17d02b64ba985c2a2231c0687ba9f94815d8 authored almost 8 years ago
Print error message before formatted assertion

The formatted labels sometimes assume the context of the error message.
And, since formatted val...

5e7ea9a99e3a2e4307f6134ae1f3ff5d3cf4342e authored almost 8 years ago
Expose runner instance to test worker

9e91016122e964c633846e6f9d3e993a7098050f authored almost 8 years ago
Annotate AssertionErrors thrown due to improper usage

2d68282f0fa228327090ff31144b0f81d781212d authored almost 8 years ago
Allow error source to be fixed when assertion errors are created

If the source is known through other means it doesn't have to be derived
from the assertion erro...

e848898404f15c8805a2781a59967abc3e40960d authored almost 8 years ago
Integrate with improved throws helper

Show instructions on how to use `t.throws()` with the test results,
without writing them to stde...

d924045a8f2f6ecafb27ff86e10a4396a38a60d5 authored almost 8 years ago
Fix formatValue() reference (#1323)

Fixes #1321

2a206311d708361b294a21aa4c5bd199936d0824 authored almost 8 years ago
Fix issue with using 'chalk' in tests (#1244)

3a44b75156c3fb8b1f20b213d4f0c86748534618 authored almost 8 years ago
Refactor Test implementation

* Do away with underscore prefixes. They were used inconsistently, and
are generally not worth i...

d3748b4aa771c387cbb79adaf21ccee4e8c09437 authored almost 8 years ago
Pass options object to Test constructor

There are too many parameters.

e81d3f2818420b0e23b53679e0124906a191aafc authored almost 8 years ago
Fail test due to pending assertion, not a returned promise rejection

If a pending assertion fails before the test implementation returns a
rejected promise, the asse...

9fdf234b8b8fe679e31086014d604c25294ebf10 authored almost 8 years ago
Record stack for async throws assertions

If the assertion fails, the AssertionError no longer has access to the
stack of when the asserti...

f6a42ba0ce70c10e6fba427359d3a449d7d2b9ac authored almost 8 years ago
Anticipate timers firing early

Don't make the duration comparison so precise, since timers may fire
early.

ead12e82522ad2e79bb9af3d87d315980c491650 authored almost 8 years ago
Fail async tests if not ended before event loop empties

Rather than keeping an infinite timer open, waiting for `t.end()` to be
called, fail the callbac...

880e87e1d8c1b5d58b15bd4f65f14ea3b20d7bab authored almost 8 years ago
Fail tests that finish without running assertions

3a4553cf28607a7ee869b5906c69d3efcca4c638 authored almost 8 years ago
Try to fail test if assertions are added after test finishes

Though currently this error is likely to get lost unless there is a
pending assertion or `test.c...

09b23e0d5fd00d48f6b5b1f9c43641faa00f1d1d authored almost 8 years ago
Stop returning full test results

Test results are emitted directly, so Test#run() only needs to return a
(promise for) a boolean,...

3e8a689c04e94feea40593dd14bd01c5598eec6d authored almost 8 years ago
Simplify Concurrent and Sequence

There's no need to collect all results. Tests emit them directly.

88955027dc87d6a400e9f8f40aa63658b5948345 authored almost 8 years ago
Pass bail option to TestCollection constructor

Simplify Runner by passing options to TestCollection.

a4fecd580b5b5db00bc0f98dc71720303665aa90 authored almost 8 years ago
Don't leak internal AssertionErrors to user code

Asynchronous `t.throws()` / `t.notThrows()` was the only case where
internal AssertionErrors wer...

d56db75705672fc8931ebf2d4aff828963740859 authored almost 8 years ago
Clean up test-worker and process-adapter

* Clarify responsibilities

* Consistently import dependencies

* Clarify significance of `expor...

df5432427210eeb167bea132bf0f3d2884c7ef25 authored almost 8 years ago
Always skip todo tests

f25935ec94d1a915bc13b728ccd34abc4d87a668 authored almost 8 years ago
Remove unused hook class

689ea16e79d335b713629ff79b69629b16687bb2 authored almost 8 years ago
Bump dependencies and fix lint issues

3da8603b87ae43a77f581738233ea98c3de5a10f authored almost 8 years ago
Remove stackStartFunction from AssertionError

At best it saves one stack level, but AVA code is already filtered out
of the stacks, so this is...

59f27456401ce607c250c2d19898efa0b3a49c61 authored almost 8 years ago
More consistent use of backticks around assertions in error messages

e5108a22bf9266ed698587c4c3244b9d5dac34db authored almost 8 years ago
Format values when AssertionErrors are created

Format statements, generate diffs and otherwise format values when
AssertionErrors are created. ...

4f87f323778505e9157915081c0c4f89146959f6 authored almost 8 years ago
Reduce depth of formatted statements

Only print the first level. For arrays/maps/objects/sets this means the
indexes/keys are printed...

0510d80db8e45de97f94a2cf8aeafdbe3bb88f34 authored almost 8 years ago
Typecheck arguments to t.regex() and t.notRegex()

f06298179a21cf74827f14667a97d2bceb798299 authored almost 8 years ago
Fix `nodeExternals` in the precompiling-with-webpack recipe (#1310)

bb5a0dee10020b93548a2fee90aac87e9e7534a0 authored almost 8 years ago
Readme: Team-table minor fix (#1308)

1be456d103bc73e0a4a89835f8342916e8247f59 authored almost 8 years ago
Separate config keys from CLI flags (#1297)

6eae738e0f26d42fb74a0b7cc556e3ebf2fa105d authored almost 8 years ago
Make test context optionally type aware for TypeScript (#1298)

50ad21372c3c165192a8673007ede7098a01e988 authored almost 8 years ago
Refactor assertions

* Use our own AssertionError class. Now we can track the assertion
rather than abusing the opera...

4463f38605929071f2ae611715a0e26c7375ccff authored almost 8 years ago
Always print actual or expected assertion value

This is especially useful for `t.notThrows()`, which includes the
thrown exception as the `actua...

22c93ed2252e100f08aa78838ab9ad6c3e20554e authored almost 8 years ago
Always fail tests with an assertion error

Wrap callback errors, rejected promises or synchronously thrown values
in an `AssertionError`. R...

827cc724ce69f455021134c035f158b56a53c520 authored almost 8 years ago
Refactor error serialization

* Retain non-standard error properties in a cleaned `object` property

* Make AssertionError ser...

0b9de332164d6a63b6d7f6de1051a17261cd41e7 authored almost 8 years ago
Remove unnecessary variable and title fallback from mini reporter

c3e094081ba97f658ea24bf0ac182e1f4d5bb7f9 authored almost 8 years ago
Ensure test workers emit properly serialized errors

Avoid having to normalize errors in `run-status.js`.

22fb2dfda8f48790bf4130f25615c8610aef18a4 authored almost 8 years ago
Rename PublicApi to ExecutionContext

This matches the terminology used in the README.

3aeb8b019ef6bb7753be36ababef563e8ae4cfc2 authored almost 8 years ago
Define getters for t.title and t.end() in PublicApi class

0b11db7741bf02839648450c2ceeef9b956fbe26 authored almost 8 years ago
Remove assertCount getter from execution context

It's undocumented and unused.

d1bebf4b3ea532acc8e2bf882e88f8cfe1f19594 authored almost 8 years ago
Don't rely on is() assertion when validating test implementation

366588bffc4be39bd87032b5dee8e99bf1d90deb authored almost 8 years ago
Docs: Add link to french translation of recipe webpack (#1305)

1ad347c53c4618bca7c9a01e637441aeb5db5168 authored almost 8 years ago
Add recipe for precompiling source files with webpack (#1212)

a49f66b59f757f25e7a21b3770ba56bbe7f3b055 authored almost 8 years ago
Improve YAML blocks in TAP reporter (#1301)

* Properly dump errors
* Only print actual and expected values if they're present, and strings....

32793369edcc3a5b11fe290c96cacf619769b26a authored almost 8 years ago
Fix reporter bug when rejecting non-errors (#1281)

157ef25aff0bae7145a6133928d2bdd0da853a78 authored almost 8 years ago
Update dependencies and some other minor tweaks

7a6b3c15b837a386f38ac3c5ba8e37acf30acaa4 authored almost 8 years ago
Resolve Babel options ahead of time 🎉 (#1262)

* package-hash@^2

* Allow precompiler setup to be asynchronous

* Consistently refer to bab...

0464b14527a7a5be805a79eff7e5c862693663c0 authored almost 8 years ago
Use `diff-match-patch` for text diffs (#1285)

`diff` is really slow for large strings

bd5ed603356f7a038fed62f64494b35598741d67 authored almost 8 years ago
Make sure all string diff output is red by default (#1287)

9f2ff0942cb4b7404f46ce3a7fee88ae686f2dbe authored almost 8 years ago
Fix Babel require hook test for Node.js 7.6.0

Node.js 7.6.0 supports async / await so the test doesn't throw an
exception. Use the unsupported...

35738969a466c680fe82117ea7e9a91fb88fd166 authored almost 8 years ago
Readme tweak (#1282)

767c3f8e2c5d66613ae7dc4ef781ce3407c0b39b authored almost 8 years ago
0.18.2

98dded553c8c213739cea9743ab4662f40d3125a authored almost 8 years ago
Speed up flow check (#1241)

`flow check` is easily taking 30 seconds on my development machine,
presumably it's checking to...

7cba283d1f1215b378e4a837009a57c861a8cd84 authored almost 8 years ago
Document that deepEqual() uses lodash.isequal

d47c5c80ae73c303c6e3b6dd8e1d2e0f3722bd74 authored almost 8 years ago
Don't call toJSON() when formatting values

Fixes #1233. Our assertions don't call toJSON(), so we shouldn't use
it either when displaying a...

2ff56ce4f48a24f5b7a7913278f249a215eea624 authored almost 8 years ago
@ava/pretty-format@^1.1.0

795f097c0befef5c1bb3f80485062827676a93e0 authored almost 8 years ago
Ensure test run failures crash worker (#1265)

* Ensure Test#run() returns exit promise

This allows errors from the exit logic to propagate ...

9cea60d98fe431af80ef1f90ce59849e1cd46a68 authored almost 8 years ago
Code excerpt fixes (#1271)

* Resolve absolute source file path when serializing errors

Fixes #1270.

* Bail excerpting...

f3b60f418da29c81d03e00259b5a7a4d4e30d327 authored almost 8 years ago
Remove Notes section from babelrc documentation

We no longer rewrite paths. Mentioning future uses seems unnecessary. What's left is implicitly ...

3d75834a3af1fbccf2056d94fc68788faec29cac authored almost 8 years ago
Fix typo in babelrc docs

8d6f9bc2e2ed02b39e32cdf2b952b680c3b19338 authored almost 8 years ago
Ensure watcher rethrows logger errors

The watcher would break if logger.finish() threw an exception. Instead
rethrow this error (which...

4f87059e27ecb59fa152d14a7f44dc4dd2d6b248 authored almost 8 years ago
Simplify failure output - fixes #1072 (#1234)

da68f2941b76c0400bc806bde39dc41d690a1818 authored almost 8 years ago
Clean up API tests (#1258)

* Remove double space in generated API test titles

* Improve test management in API tests

...

2c683b9e2be5e484e2bf9c1487316ccc232684f4 authored almost 8 years ago
Generate HTML coverage reports (#1259)

This makes it easier to inspect the code coverage during development.

8a8669c7f89b813cd945fb4ced044d06ec534f75 authored almost 8 years ago
Ensure TAP reporter test does not write to stderr (#1240)

Stub process.stderr.write(), rather than just spying on it. Otherwise
'resultresult' gets writt...

87ea70f651f42cb7cb4705006c58bac7c173db12 authored about 8 years ago
Avoid helper compilation during API tests

We're ending up compiling all helper-like files in AVA's test/
directory, which is unnecessary.

09a47651a4a90239a0c23720fbbb3593599dfaf4 authored about 8 years ago
Clarify directories used by API (#1252)

* Rename pkgDir to projectDir: this better communicates it's the
directory of the user's projec...

314ef001ab1c085e2057738e2d2588bde3e792cc authored about 8 years ago
Document helper precompilation caveat (in code at least) (#1251)

73394f155a04af0c40045c51f49c47dbdd5894f7 authored about 8 years ago
Flow type definition for snapshot assertion #1245 (#1247)

45fec330cb1fc117d848efe08fc0359814ce70a8 authored about 8 years ago
Add TypeScript definition for the snapshot assertion (#1243)

93417201725abc6e6a1af954666cfd339889dfb0 authored about 8 years ago
Bump `stack-utils`

Closes #1003.

fa9abecad516b56391070c6324dc01110833da9f authored about 8 years ago
Fix some minor issues with #1198

2dc47532543a7d5ef8b86b48396b7f53d20963a3 authored about 8 years ago
Added support for --no-color flag in verbose and mini reporters (#1198)

5c4c2707a95ff8b5027f84a2f323c6f3082e7213 authored about 8 years ago
Add flow type tests (#1230)

Closes #1224.

This adds flow-bin, adds it to the test running script, and adds some regressio...

80ed08032438fa1400ac723fcc74bdc447a21750 authored about 8 years ago
Show how many tests were skipped by --fail-fast (#1221)

6a8ed2c3c16ee023975d7bc335b81f61cd306cc7 authored about 8 years ago
Add Flow and TS type definitions to "Why AVA?"

b886c5b25ae54430f908c49f9932d8f998c41702 authored about 8 years ago
Fix flow errors using t.throws and t.notThrows (#1219)

Instead of double-defining each of these, define them once while using overloading.

Also took...

518252f67aaa63221e0d49cb3f896c5bff054e68 authored about 8 years ago
0.18.1

dcdfbee689e1538420f5793bbaca09c7e78ddedd authored about 8 years ago
remove t.is and t.not from enhanced assertions

154215df51fb1fbe9f5f5ca2f76e00b46d30c7d3 authored about 8 years ago
0.18.0

2623c11ae285d3292037c92644495cc6e3d97b7c authored about 8 years ago
Mention magic assert in the readme

And some other tweaks

a45cdb9eb7e04097952b3a88b504e12d8885fbd3 authored about 8 years ago
Fix crash with snapshot testing

Seems like `String#repeat` does not like negative numbers.

c980f978cd70969cfbe1114d8e1ef4f1eb39def3 authored about 8 years ago
Removed `--source` CLI flag (#1215)

Fixes #937

34bebc450d7ee6fef99684a5a7c0aea67695b772 authored about 8 years ago
Remove the `repeating` dependency

No longer needed.

ca016c09f2723921fc75857eae8113801f6957d4 authored about 8 years ago
Cut testing time of AVA itself by more than half

2m 35sec → 1m 14s

Went with 4 cores as that seemed the most optimal. I've experienced that numb...

751d2a8b7f08aee622785a834996ef3be93f2a08 authored about 8 years ago
Bump dependencies

b3eaf30eae15d6baf7a3c33c14bec326a29e983f authored about 8 years ago
Finish ES2015ifying the codebase \o/

aa1b8bb629a2396b08637b2ff1111cefb4d6b39d authored about 8 years ago
Magic assert (#1154)

c9e6e6fafacad3f54536dc9122555e939d13aa21 authored about 8 years ago
Improve metadata checks (#980)

9616dde582e5333c3528cdd217c37e5b41798c9a authored about 8 years ago
Improve error message for watch mode in CI (#1208)

173da288adaba17bcc2ce88f76ddfcb8dfc1eb8f authored about 8 years ago
Various minor tweaks

872d2edb938ab1104b304f25aa586833b9875030 authored about 8 years ago
Bump `lodash.isequal` (#1206)

Closes #1121.

2bdf72a06c8b1c691881423f09939cdd5ea83c5f authored about 8 years ago
Exit with error if --watch is used in CI (#1203)

0606ff708fc24f868ad3280e984c8807f47533b7 authored about 8 years ago
Some tweaks to the TS make file

83937bfc7262f70cc03be9e1265bc33fa034a249 authored about 8 years ago
Update link to is-ci’s environment variables (#1201)

is-ci moved the logic for detecting the CI server to the ci-info module, see https://github.com/...

82acc5951789d4b3eca44b934683c6167eba9ce2 authored about 8 years ago