0.10.0
Highlights
Customize the default behavior in package.json
All of the CLI options can be configured in the AVA section of your package.json. This allows you to modify the default behavior of the AVA command, so you don't have to repeatedly type the same options on the command prompt.
{
"ava": {
"files": [
"my-test-folder/*.js",
"!**/not-this-file.js"
],
"failFast": true,
"serial": true,
"tap": true,
"verbose": true,
"require": ["babel-core/register", "coffee-script/register"]
}
}
Clean stack traces
Unrelated lines are now removed from stack traces, allowing you to find the source of an error much faster.
Improved performance
Babel transpilation of test files now happens in the main process. This avoids requiring Babel in every child process and greatly improves performance. This is an especially important improvement for people still running npm@2
.
New power-assert
updates reduce the size of it's dependency graph. Offering improvements to both download times and performance.
Clean console.log
output.
The test status output and console.log
statements from within your own code will no longer interfere with each other. The test status remains fixed at the bottom of the output.
Other Changes
- New Spanish translation of the documentation. 37cd685
- Started a collection of
recipes
for common scenarios / best practices. 4d96a3e - All assertion methods now return a promise. 821436a
- Long stack traces are turned on in forked processes. da6a2f4
- Skippable assertions are now documented. 879e036
- [Breaking]
.babelrc
files will now be ignored when transpiling tests. This will be a breaking change for some, and fix major problems for others. The ability to configure test transpilation will be restored in a future update. 5f5be31 - Multiple tweaks of test reporter output. a2b282e 7b764ea
- Added a Code of Conduct b76f3d5