Sindre Sorhus
305fcdb4b3
fix typo
9 years ago
Vadim Demedes
257b872156
Merge pull request #236 from sindresorhus/cleanup-fork
Clean up forking and messages
9 years ago
vdemedes
33b5d2b484
clean up forking and messages
9 years ago
Vadim Demedes
447b1be1c8
Merge pull request #237 from sindresorhus/fix-tap-coverage
Fix coverage when using tap
9 years ago
vdemedes
5cf24288a1
fix coverage when using tap
9 years ago
Vadim Demedes
578173d1ac
Merge pull request #234 from jamestalmage/use-tap
use tap test runner instead of tape
9 years ago
James Talmage
50251d09bc
use tap test runner instead of tape.
9 years ago
Sindre Sorhus
aad2a26049
document `test.only()`
added in 93f733c4cf
9 years ago
Sindre Sorhus
6700a254e8
add maintaining.md for the project maintainers
9 years ago
Sindre Sorhus
cd4c7c6f51
Merge pull request #227 from jamestalmage/simplify-context-sharing
simplify context sharing between beforeEach and test
9 years ago
Junle Li
93f733c4cf
add test.only(), closes #204
9 years ago
James Talmage
fb87cdfe79
simplify context sharing between beforeEach and test
The wrapper is not necessary, even for primitives.
9 years ago
Sindre Sorhus
2d36b51490
0.5.0
9 years ago
Sindre Sorhus
00342bec62
⬆️ globby@4
9 years ago
Sindre Sorhus
e57eff059f
document Observable support
added in #165
9 years ago
Tim Oxley
403a28c8ce
Support use of t.end as callback, closes #180
* Binds all Test.prototype methods to current test.
* Checks for truthy error as first argument to Test.prototype.end.
9 years ago
Sindre Sorhus
6b628846c3
minor style tweaks
9 years ago
jankuca
1b60c7b8be
add support for *.spec.js file naming, closes #216
9 years ago
Jonathan Haines
05bee73b52
Close #165 PR: Support Observable. Fixes #84
9 years ago
Sindre Sorhus
b24b2eaa4d
Merge pull request #206 from jamestalmage/use-loud-rejection
Mega PR: unhandledRejection, uncaughtException, reliable IO capture, consistent tests.
9 years ago
James Talmage
15bd79402c
extend exit delay on AppVeyor
add small delay on exit from babel
(cherry picked from commit 11961f7)
if AVA is not required in a test, throw an error instead of process.exit
only extend timeout if env.AVA_APPVEYOR is set, so we only slow down
in our tests.
9 years ago
James Talmage
b3bc42a506
make shure IO streams are flushed before exiting a process.
wait for forked streams to end before resolving promise
(cherry picked from commit 4539ccc)
wait for io streams to end even when fork promise is rejected
(cherry picked from commit 6bff82a)
9 years ago
James Talmage
c5d02f1f3c
report uncaught exceptions
9 years ago
James Talmage
862edb8526
report unhandled promise rejections
9 years ago
James Talmage
a73374dc2f
make AppVeyor retry failed runs.
Tests are just too brittle on AppVeyor. `npm install` fails frequently,
and Node on Windows does not seem to reliably flush stdout/stderr
of forked child processes.
I don't like this, but I'm at a loss for other solutions.
9 years ago
Sindre Sorhus
78a6c56e3d
tweaks
9 years ago
Sindre Sorhus
97409864e2
Merge pull request #208 from jamestalmage/fix-198
Properly handle empty results from test files - fixes #198
9 years ago
James Talmage
a3308d2297
Handle empty results from test files. Fix #198
9 years ago
Sindre Sorhus
fc9a1dcafb
Merge pull request #205 from jamestalmage/regression-one-passing-one-failing
regression: logger throws on files with both passing and failing tests.
9 years ago
James Talmage
d6fed1c7c4
regression: logger throws on files with both passing and failing tests.
log.errors() cycles through all the results from a file (passing and failing)
and prints out a summary of the failing tests and the assertion errors.
It was misidentfying all results as errors, and then throwing
when result.error turned out to be an empty object ({}).
I think the result object can be improved such that
result.error === false when there were no errors.
But that is for another PR.
9 years ago
sohamkamani
86459161fd
Close #203 PR: More tests for runner.js (issue #161 ).
9 years ago
Sindre Sorhus
23ac30db25
add some missing docs
9 years ago
Sindre Sorhus
186fd78009
Merge pull request #200 from jamestalmage/reject-with-error
fork.js: Reject child-process completion promise with an error.
9 years ago
James Talmage
732b4c231b
fork.js: Reject child-process completion promise with an error.
It is generally recommended to reject Promises with an error.
This becomes especially true with the move to `async/await`,
as `Promise.reject(1)` essentially becomes `throw 1` in that context.
Not doing so was causing a weird bug on Node 0.10.
9 years ago
Sindre Sorhus
c149db228d
Merge pull request #196 from sohamkamani/master
Improved test coverage for runner.js (issue #161 )
9 years ago
sohamkamani
9612133704
Test coverage for runner.js
9 years ago
James Talmage
fc988e9573
Close #187 PR: Fix circular references on assertions before sending across the wire..
9 years ago
Sindre Sorhus
fa782a82d2
Merge pull request #195 from jamestalmage/use-tap-spec
use tap-spec reporter for tests. fixes #188
9 years ago
James Talmage
b28c072664
use tap-spec reporter for tests. fixes #188
9 years ago
Sindre Sorhus
96fc0da899
Merge pull request #194 from sindresorhus/test-skip
Add test.skip()
9 years ago
vdemedes
41fd96f907
add test.skip()
9 years ago
Sindre Sorhus
b55a05a649
Merge pull request #193 from sindresorhus/event-improvements
Event data improvements
9 years ago
vdemedes
ac832d1a2e
event data improvements
9 years ago
Sindre Sorhus
79233c7ccb
Merge pull request #191 from sindresorhus/run-without-ava-error
Fail when tests executed without cli
9 years ago
vdemedes
41b4746f9e
fail when tests executed without cli
9 years ago
Sindre Sorhus
3a75cb190e
Merge pull request #190 from sindresorhus/hook-titles
Display only failed hooks
9 years ago
vdemedes
55d3613bed
display only failed hooks
9 years ago
Sindre Sorhus
fc201d2032
use custom Gitter badge until they get one that fits in
9 years ago
Alex Booker
7575ca8285
Close #174 PR: made "concurernvy vs. parallelism" section clearer.
9 years ago
Mark Thomas
98f9253dd5
Close #168 PR: Add a table of contents to readme.md.
9 years ago