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

Merge pull request #321 from sindresorhus/babel-simplify

don't use local Babel directly

6b066b5d2d74f044ddfadf94fdda8a832d4f1f1f authored almost 9 years ago by Sindre Sorhus <[email protected]>
don't use local Babel directly

Instead depend on npm to dedupe. This is better as we will no longer fail if the user has Babel ...

d0c370a1c00db8c02e9d7c4bcbac835b1a6c8a08 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #323 from sotojuan/master

Change `false fail false` message

6f8e2c4127409271fcdb26c87211931b5054fe9b authored almost 9 years ago by Sindre Sorhus <[email protected]>
Add default message to x.fail(), update related test

da3c7a83592852a3dca0c7578558951c7d70a945 authored almost 9 years ago by Juan Soto <[email protected]>
Merge pull request #296 from jokeyrhyme/pass-through-requires

Node.js-style --require CLI argument

d5b25f29e82e004a318648e416de52651cc342e1 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Node.js-style --require CLI argument

6081389d00221217d39115601cc4dfa485618f90 authored almost 9 years ago by Ron Waldon <[email protected]>
Merge pull request #312 from novemberborn/document-nyc-source-maps

document nyc's source map support

8aac20d13260a3dd6fda694e9117603a1048ca71 authored almost 9 years ago by Sindre Sorhus <[email protected]>
document nyc's source map support

65d0cce2db38f2e46057b8fd6d8c576cdaf3cd6b authored almost 9 years ago by Mark Wubben <[email protected]>
fix tests

3fdf44d1acbe8c6f14eb3865352ce49812c4a956 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Close #313 PR: Add API tests. Fixes #285

fb35a1138b407b18fb73e061957c95d82a0df560 authored almost 9 years ago by Juan Soto <[email protected]>
Merge pull request #319 from jokeyrhyme/pass-single-json-to-forks

process is forked with a single JSON argument

07dea761e678722eb37ab9b25d2b8e38acd42ad4 authored almost 9 years ago by Vadim Demedes <[email protected]>
process is forked with a single JSON argument

eeeec706c285ed30889c6bf602f7797f31720270 authored almost 9 years ago by Ron Waldon <[email protected]>
lgtm - only require 2 approvals

2d5ae12d02fa08f9c26b6f0fa9f71777a85010a5 authored almost 9 years ago by Sindre Sorhus <[email protected]>
add file for https://lgtm.co

beb740a4ab234c852314496165c3699745a09980 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #316 from novemberborn/source-map-improvements

Source map improvements

1d1ce43e608869c9defb602fa35ee555a3bb9485 authored almost 9 years ago by Sindre Sorhus <[email protected]>
improve source-map tests

Use the source-map-fixtures package to provide a fixture which throws an error.
Stack traces sho...

386416846bdb7b8aae84e1b0d8cf77da0bb31fa4 authored almost 9 years ago by Mark Wubben <[email protected]>
[email protected]

Now automatically retrieves the source map from the file itself.

be8b9351300bab7075561fd5c317425d8e4a418c authored almost 9 years ago by Mark Wubben <[email protected]>
switch to `resolve-cwd` dep

ff5b8dfa5cc9c49a0919c9cad0896cb9c3e971ee authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #301 from jamestalmage/use-deeper

Allow deepEqual comparison of values with circular references. Fixes #298.

8d7e3bb6e73bbea2716b48b5fff59e02c80cb9b1 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Close #303 PR: Adds filename to failed test title.. Fixes #272

8a6770423dd69c700826fbd5a43c3a85b427808f authored almost 9 years ago by James McMath <[email protected]>
Merge pull request #302 from jamestalmage/allow-destructuring-of-t

allow destructuring of `t` parameter.

94d2dc359474f8d9533e607429144c2b90ae043a authored almost 9 years ago by Sindre Sorhus <[email protected]>
allow destructuring of `t` parameter.

There were two problems with using destructuring on the `t` parameter
passed to tests:

1. `t.e...

e0f31e84090a62439296f12f1643741be55aa9b7 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #258 from jamestalmage/skippable-assertions

Add ability to skip individual assertions. Fixes #9.

e721568127533f5d0035f2ce9a689fa1e21957da authored almost 9 years ago by James Talmage <[email protected]>
Add ability to skip individual assertions. Fixes #9.

357622c2834fbd53a0dac6a155f07532b21a3b96 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #299 from sindresorhus/missing-skipped-tests

Display skipped tests

b9ebced4a392e549d591bd7ef0415c771c2323f0 authored almost 9 years ago by Vadim Demedes <[email protected]>
display skipped tests

cf471cb1eefc9b7302666123b672f0e2a3428a55 authored almost 9 years ago by vdemedes <[email protected]>
Allow deepEqual comparison of values with circular references. Fixes #298.

Introduces an additional dependency: `deeper`.

Fixes #298.

Alternate to #300.

56cd65265e301a7457369df5e3fe15a158ff487a authored almost 9 years ago by James Talmage <[email protected]>
Forward all child output to `stderr` on main process. Closes #291

Closes #291

3f2e67a45b4cc348ffa33ad7bfc37e9844a48bfd authored almost 9 years ago by James Talmage <[email protected]>
Unify how files with no tests are reported.

There are two possible errors that can result in no test data being
received.

1. The user neve...

eef3d8832a3f7adcfeebb173c13de341ad1de56f authored almost 9 years ago by James Talmage <[email protected]>
Test for fake-timers was passing for the wrong reasons.

Nothing wrong with the implementation, but the test was only
checking test duration, not that th...

a1764d7f804f9bb46fcd05839bee88db8a1c78cd authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #293 from jamestalmage/fix-formatting-for-uncaught-errors

Fix regression in uncaughtException formatting.

6b6247ebe3dd785282551ee62de0970ea69b7b52 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Fix regression in uncaughtException formatting.

c424ceb3d introduced a regression in how we format uncaughtExceptions.
The wrong value was being...

d0d3387ac95334b1bca0e118318b12c315289a74 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #286 from jamestalmage/hide-test-internals

Hide test internals. Fixes #252.

eaf3e0f8a66980e87496a30b9f4a8c45329f0ae9 authored almost 9 years ago by James Talmage <[email protected]>
Hide test internals. Fixes #252.

Fixes #252.

c78c46fa85f43ae3073e35ceb16260ac1249c508 authored almost 9 years ago by James Talmage <[email protected]>
add `api.js` to package.json

b754456a5bcccbc280d4afd5eba88b3f1378eec2 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Close #279 PR: Add programmatic API. Fixes #83

c424ceb3d3c92519cfac72390e32397ed5e8d98c authored almost 9 years ago by vdemedes <[email protected]>
0.7.0

2f05aca5f33aee4abd9b92d9049807920f525550 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Force serial execution of forked processes, closes #282

7ad7501db2f836cb9200ee018ed8a867119f3113 authored almost 9 years ago by Valery Kholodkov <[email protected]>
Merge pull request #281 from jamestalmage/async-to-cb

Rename test.async to test.cb

8cde259e056213655c68d3698436ce9e28271c0b authored almost 9 years ago by James Talmage <[email protected]>
test.async -> test.cb

717030813a51d349830e28a7b77b4014837d6eac authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #280 from jamestalmage/pass-ava-appveyor-env-variable-in-tests

Put back AVA_APPVEYOR environment variable when running tests.

be946df88228bd4be848647937075c640b268359 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #277 from jamestalmage/prefer-local-over-global

Prefer the locally installed version of AVA.

f13ba2ec765ea4779a6fda18408236dc5172cbf5 authored almost 9 years ago by James Talmage <[email protected]>
Put back AVA_APPVEYOR environment variable when running tests.

9b7709650287dafa034ec88788649e78819ccb08 authored almost 9 years ago by James Talmage <[email protected]>
Prefer the locally installed version of AVA.

This hunts for AVA in the locally installed project, and runs that
CLI instead of the globally i...

2f7ac92d8ccfd5763e83d5a4050ee0ed23e46a87 authored almost 9 years ago by James Talmage <[email protected]>
fix flaky test

e2e45151dc5ac249d49a7cd94baca8c70f9ed2ce authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #275 from jamestalmage/pipe-forked-io-streams

Pipe forked IO streams instead of forwarding `data` events.

306f28d25cbf5b798dbaf0db3480f973547848b1 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #276 from jamestalmage/use-time-require

Integrate time-require into the CLI.

b370458c7e37fc7689f8186887905e9652de2113 authored almost 9 years ago by Sindre Sorhus <[email protected]>
readme cleanup

76152eded0e194a8994171e6f670ea193c3c36d4 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Integrate time-require when `debug` is enabled.

I want to start focusing on getting our require times down,
both in the main thread and forked t...

5e927454d3caf7f7a602bf25e1b20ae33c7d3924 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #253 from jamestalmage/disallow-end-callback-on-non-async

Breaking: `t.end` requires `test.async`, and `t.plan` will not auto end tests. Fixes #244.

2a7a63989e7c7f96ca380f3f499ca4e3d98c3f2d authored almost 9 years ago by Sindre Sorhus <[email protected]>
update documentation to reflect new behaviors

982a4515d06d7f9ac602b0a3986bc3432b90e9bb authored almost 9 years ago by James Talmage <[email protected]>
Breaking: t.plan() will not auto-end tests.

AVA will no longer automatically end tests when you reach the plan limit.
Users must explicitly ...

f8168153c798fd07e33d120d2a7448c4b8408db0 authored almost 9 years ago by James Talmage <[email protected]>
Pipe forked IO streams instead of forwarding `data` events.

This passes terminal width information to, and enables ansi-color
support in, the forked process...

0ef0ca14fcf4e4e586f4157dc4838f47ca86c205 authored almost 9 years ago by James Talmage <[email protected]>
minor code style tweaks

fa70351c3f132fbfd8a46a8366ff93cf1edde1d0 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #273 from novemberborn/stack-traces-for-input-sourcemaps

Stack traces for input source maps

84fb575b02da90083610aa49eb58f986313dd225 authored almost 9 years ago by James Talmage <[email protected]>
No need to tringify source maps before caching

source-map-support works fine if the map is already an object.

b3cee51de308b57d4358a621cad85d90789f1b02 authored almost 9 years ago by Mark Wubben <[email protected]>
Support initial source maps for stack traces

Compute correct stack traces if the test file itself was already compiled before
ava was run, pr...

a423a77988e415d0b7a97f3935c0e210c2724426 authored almost 9 years ago by Mark Wubben <[email protected]>
Breaking: t.end requires test be declared async

Accessing `t.end` now throws an error unless the test is first
declared async via `test.async([t...

387c30a056cdd3ef8510262ce2119031c8d18361 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #270 from jamestalmage/support-fake-timers

Guard against clock manipulation by fake timer libraries. Fixes #128.

7764336a8267aa2eac876867824ebae720b09363 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Guard against clock manipulation by fake timer libraries. Fixes #128.

b88c2baf399a4b09a76cdb6402b0e02669759e42 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #267 from jamestalmage/use-serialize-error

use serialize-error module

21cac95c250ce93ec45caeda83b0b65a67f404cc authored almost 9 years ago by James Talmage <[email protected]>
use serialize-error module

We dropped it because it did not handle circular references.
That has since been fixed.

Referen...

3e9038566b01d823fdade590e739043cdd8ccab1 authored almost 9 years ago by James Talmage <[email protected]>
Close #243 PR: Make runner methods chainable.

d874ec9642a08492d3dc01ff311c23ddfeaa0797 authored almost 9 years ago by James Talmage <[email protected]>
cleanup #247

468608007f608cb8165b7865ef7a19ee3aaaf252 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Close #247 PR: Document workaround for transpiling ES2015 module imports in tests.

81078fd4043b0dfca577b2879e8c16020e02d1b4 authored almost 9 years ago by Ryan Dunckel <[email protected]>
0.6.0

09a2140b4645fc882afa50800c565298917ca45a authored almost 9 years ago by Sindre Sorhus <[email protected]>
ignore process.env when running CLI tests

I have the DEBUG variable set in my dotfiles and it made AVA output debug info and fail the tests.

d2119f55438ae3ada3c7a9b45daf44500ef7534f authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #262 from novemberborn/source-map-pragma

Support source map pragmas for stack traces

fb98d5dcff7ac4810efa5ef5ee42b0d041c89d13 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Close #260 PR: Ignore possible test files under node_modules folder. Fixes #226.. Fixes #226

a4f8e241f6adefe6308ca2a0f66f796e50d45eae authored almost 9 years ago by Juan Soto <[email protected]>
Merge pull request #265 from jamestalmage/fix-coverage-2

Fix failing coveralls script.

ffb750bc5b351003fd63847e0e71228cc068720d authored almost 9 years ago by James Talmage <[email protected]>
Fix failing coveralls script.

For PR's `process.env.COVERALLS_REPO_TOKEN` does not exist, so `tap`
will not automatically send...

1816f73b9b5ff9227590b1691ce7d8036a7b1ef8 authored almost 9 years ago by James Talmage <[email protected]>
Close #264 PR: Fix coverage.

Due to NYC defaults, we were missing coverage on lib/test.js

I also added `npm run coverage` as...

4852c92c9c7fab222f873e6313d622bc6aa1559c authored almost 9 years ago by James Talmage <[email protected]>
✨Happy to welcome @jamestalmage to the project! ✨

812589a90310d368df07601422651dae03fd204f authored almost 9 years ago by Sindre Sorhus <[email protected]>
Support source map pragmas for stack traces

When using source maps to compute stack traces, if the source map is not in
memory, fall back to...

5b1e5b4ca704e50a0166e4c4024bd5fbfd73de42 authored almost 9 years ago by Mark Wubben <[email protected]>
Explicitly test stack trace mapping

Explicitly test whether source maps are used to compute stack traces. Before
this was done in a ...

8c5f6e3ae73e30b9541089b850e1a9129f7fa232 authored almost 9 years ago by Mark Wubben <[email protected]>
Close #259 PR: print the first assertion failure of each test, instead of the last. Fixes #121, #220. Fixes #121, Fixes #220

eb9b3390292cc5c7d3ea82ee0828c1b8578d3890 authored almost 9 years ago by James Talmage <[email protected]>
Merge pull request #251 from jamestalmage/remove-context-on-before-after-hooks

context should not exist on before/after tests.

293acf2639ca360f79e4c53a5bb2db83ee3413d8 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #254 from jamestalmage/source-map-support

Add source map support. Fixes: #223, #250

2185921fd34a0de25889cf0b2e393e4f5f47c5bf authored almost 9 years ago by Sindre Sorhus <[email protected]>
Add source map support. Fixes: #223, #250

This adds basic source map support. Since transpilation of dependencies
is not merged yet, the `...

25a3cfd98bc430674a2598e63c43b01e0c69edb1 authored almost 9 years ago by James Talmage <[email protected]>
Close #257 PR: logger.js: fix beautifyStack on Windows. Fixes: #255.

33b7918243c9dd9c865744d85bbe9996685ed476 authored almost 9 years ago by James Talmage <[email protected]>
context should not exist on before/after tests.

(cherry picked from commit f298d72)

f0109e29babc7b15ed65e56caacb90772890dab9 authored almost 9 years ago by James Talmage <[email protected]>
add `debug` - fixes #242

60b233794861fa2aee0df7b9f94d4c178b6684d9 authored almost 9 years ago by Sindre Sorhus <[email protected]>
use consistent and correct assert methods

21885b8c7dd929a7496ea9105196dd2d67d02db5 authored almost 9 years ago by Sindre Sorhus <[email protected]>
modulify all the things

0caf0cf7b29615ca3da94812d91c4fc288d6a7b3 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Close #240 PR: Clean up lib/test.js.

eb951fdc260545f4248e402381226c6104f56968 authored almost 9 years ago by vdemedes <[email protected]>
minor tweaks

acbda42e566364b8e0032aeec904a26efca62410 authored almost 9 years ago by Sindre Sorhus <[email protected]>
drop Node.js 0.10 from AppVeyor

AppVeyor is just too flaky and we already test Node.js 0.10 on Linux.

Closes #241

505c708ccfa7266f67fdddb60eec33b6ac6e510f authored almost 9 years ago by Sindre Sorhus <[email protected]>
minor CLI cleanup

c45c9c177c8f55ebe630d71c963cf0c1a27c826f authored almost 9 years ago by Sindre Sorhus <[email protected]>
split tests into multiple files - fixes #201

5b91488220b793b220763aaa985be3ae8fec64f5 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #239 from sindresorhus/cleanup-runner

Clean up runner

bb53c327f61a71a8d56b55dcafd4fea91f40baff authored almost 9 years ago by Sindre Sorhus <[email protected]>
clean up runner

d6699d1a2160a4f4294865252ab8eb9dc588c8da authored almost 9 years ago by vdemedes <[email protected]>
fix typo

305fcdb4b3045924a11ca9b93e2281fdff430084 authored almost 9 years ago by Sindre Sorhus <[email protected]>
Merge pull request #236 from sindresorhus/cleanup-fork

Clean up forking and messages

257b8721560d87d81c35650b9d4d269f7f02bad5 authored almost 9 years ago by Vadim Demedes <[email protected]>
clean up forking and messages

33b5d2b484ec2cb584aed03c0133c8546f9cfa00 authored almost 9 years ago by vdemedes <[email protected]>
Merge pull request #237 from sindresorhus/fix-tap-coverage

Fix coverage when using tap

447b1be1c80c04c508dc6d70da7aef7cce8da498 authored almost 9 years ago by Vadim Demedes <[email protected]>
fix coverage when using tap

5cf24288a1912993277068add901bea3f94a9b20 authored almost 9 years ago by vdemedes <[email protected]>
Merge pull request #234 from jamestalmage/use-tap

use tap test runner instead of tape

578173d1ac1aeb2a99543da0543da40f96e7771d authored almost 9 years ago by Vadim Demedes <[email protected]>
use tap test runner instead of tape.

50251d09bc04ed1b15f9a5dfc82825b72080b66b authored almost 9 years ago by James Talmage <[email protected]>
document `test.only()`

added in https://github.com/sindresorhus/ava/commit/93f733c4cf47a95f0b8806bd4daf5069f977043e

aad2a26049baca3bd5c6e3162c01e63fce1a81e7 authored almost 9 years ago by Sindre Sorhus <[email protected]>
add maintaining.md for the project maintainers

6700a254e8478c32c3044fa7850bb9f6a0f249e4 authored almost 9 years ago by Sindre Sorhus <[email protected]>