Martin Grünbaum
476c653961
Change the current working directory of tests to be the same directory as package.json ( #1074 )
#32
8 years ago
Vadim Demedes
1b214bed9b
clean up caching precompiler ( #1077 )
8 years ago
Sindre Sorhus
6165a233c5
linting: turn off the `no-use-extend-native` rule
We use Bluebird methods in too many places.
8 years ago
Martin Grünbaum
e10338ebf1
Update readme.md ( #1075 )
Clarify that context is initialized anew for each test.
8 years ago
Sindre Sorhus
dae3a44912
make XO happy
Locking the version as 0.17.0 requires Node.js 4
8 years ago
Forresst
c258d037b1
Fix link to configuration in readme ( #1073 )
8 years ago
Jacob Kahn
17119bcfd8
Remove --require CLI option ( #1070 )
Fixes #1069 .
8 years ago
Sindre Sorhus
4025d81b26
Reduce transpilation on Node.js >=4 ( #1068 )
Better startup performance and improved stack traces.
8 years ago
Vadim Demedes
16b7e538d2
Add link to first contribution blog post
8 years ago
Vadim Demedes
885668428a
Switch to `lodash.isEqual` for deep quality check ( #1063 )
8 years ago
Vadim Demedes
446886e30b
Clean up API ( #1061 )
8 years ago
Luke Childs
9a9ce50e13
Replace `jsdom` with `browser-env` in browser recipe ( #1054 )
8 years ago
Sindre Sorhus
40cbfb668c
highlights - Automatic migration from other test runners
Thanks @skovhus ! :)
8 years ago
Sindre Sorhus
2c9fd51301
bump `tap` and `nyc`
8 years ago
Sindre Sorhus
8811f37456
bump all the `babel` related modules to latest
Some older versions that are still matched by semver were buggy and some users were somehow getting those versions. Maybe from a stale npm cache.
Fixes #1058
8 years ago
Jeroen Engels
2555461639
Do not say that `t` is the only argument of a test
8 years ago
Mark Wubben
09de0064e9
Document more async pitfalls ( #1045 )
* Use tabs in pitfalls code blocks
* Spell out async in pitfals doc
* Promote async/await in pitfalls doc
* Provide example of using pify
* Suggest pify for catching exceptions
* Suggest promisifying callback-functions for better exception catching
8 years ago
Ivo Gabe de Wolff
4baa170384
Add `always` to TS definition ( #1025 )
* Add `always` to TS definition
* Fix lint errors
8 years ago
Forresst
66a1538430
Add link to Spanish translation of browser testing docs
8 years ago
Juan Soto
20ab39de04
Fix tests in Node 6.5.0
8 years ago
Forresst
7d3b58ba8c
Docs: Add link to french translation of 'Debugging tests with WebStorm' ( #1036 )
8 years ago
James Kyle
6458454951
Add Flow type definition ( #1007 )
8 years ago
Jeroen Engels
fe3cf4c88a
Mention `eslint-plugin-ava` in the common pitfalls docs ( #1022 )
8 years ago
Jeroen Engels
24a38acc5b
Add option to disable power-assert - fixes #1017 ( #1024 )
8 years ago
Juan Soto
88f50d2034
Upgrade tap and ensure asynchronous tests return promises ( #1014 )
8 years ago
Zeke Sikelianos
f038f8d197
fix typo ( #1015 )
Watch -> Match
8 years ago
Ekaterina Prigara
30ab26f449
WebStorm recipe ( #1009 )
8 years ago
Sam Verschueren
c40477a0f3
fix context in beforeEach and afterEach hooks - fixes #1004 ( #1008 )
8 years ago
Sindre Sorhus
a4d0e817e7
remove misleading screenshot in the readme
That's no longer the default output, but rather the verbose one.
Fixes #1006
8 years ago
platy11
e4487986cd
Remove t.doesNotThrow - fixes #850 ( #1001 )
8 years ago
Juan Soto
e4f90e0f7a
Improve failure output of the default mini reporter ( #951 )
8 years ago
platy11
28bb0d5cb2
Deprecate `t.error()` - fixes #995 ( #999 )
8 years ago
Forresst
8446f48d16
Improve tests for deepEqual ( #1000 )
Additional tests:
* Empty array and empty object do not match
* Array and object do not match
8 years ago
Vladimir Krivosheev
c268c8dfce
set child process debug port to an available port - fixes #342 ( #874 )
8 years ago
Christian Murphy
8816faf6be
support test macros in typescript definitions ( #975 )
8 years ago
Dmitry Ananichev
ea25b20a6d
improve test coverage by adding more tests ( #967 )
8 years ago
Vadim Demedes
ee1372521b
use path.relative() to detect local AVA installation ( #993 )
8 years ago
Vadim Demedes
d19d1d1d00
Use updated ava-files module ( #994 )
8 years ago
Sindre Sorhus
40b4bcd3a2
modularize the class binding
one less TODO \o/
8 years ago
Sindre Sorhus
adc823ecc9
📢 Delighted to welcome @jfmengels to the team! 🎉
8 years ago
Sindre Sorhus
78d47b3c89
fix `run-status.js` tests on Windows
8 years ago
James Talmage
204f2be2e8
Support `karma-ava`
closes #942
This does a few things:
- Moves anything used in child processes that the browser can't replicate into `lib/process-adapter.js` (so that browser implementations can implement that missing functionality).
- Separates out `prefix-title` so `karma-ava` can use it.
It enables use of [`karma-ava`](https://github.com/avajs/karma-ava ), which is very preliminary right now, but does work: https://cloud.githubusercontent.com/assets/4082216/16401095/75720328-3caf-11e6-950d-27a9e48bbf9a.png
--
This also includes two commits from #896
9 years ago
Sindre Sorhus
01a110e15f
0.16.0
8 years ago
Sindre Sorhus
1bff531639
bump dependencies and remove unused ones
8 years ago
Christian Murphy
f9fe8f242d
Add type definitions to notRegex ( #979 )
8 years ago
Juan Soto
1c6abe02e9
Update Juan Soto link
8 years ago
Andrew Safigan
8edd9c2ed1
provide clear error message when users attempt nested/async calls to `test` ( #961 )
Fixes #948 .
AVA does not support nested / async calls to `test`, but we were not providing a great error message when users attempted that.
* added failing test for expected error
* tests passed: waiting for review
* added test
* changed error message
* fixed error in test
* changed 'hasBegunRunning' to 'hasStarted'
8 years ago
Sindre Sorhus
c82f98015a
minor code style tweaks
8 years ago
Ivo Gabe de Wolff
1dd6d5b912
Auto generate TypeScript definition to allow chaining ( #884 )
8 years ago
Sindre Sorhus
05f1890eb7
add Dependency CI badge
Not very useful, but want to promote Dependency CI because it's awesome.
8 years ago