forresst
195390ec1d
doc: add Italian translations links ( #746 )
9 years ago
James Talmage
da39639b5d
rename `TestData` => `RunStatus`
I missed this while refactoring the API refactor PR.
9 years ago
James Talmage
dcfd6a1aff
Improve babelrc recipe ( #743 )
9 years ago
Vladimir Starkov
84c05fe98e
increase power-assert's maxDepth option to 3. ( #740 )
Fixes #681
9 years ago
Juan
d39bea9dc2
Put failing TAP test title in the second line ( #734 )
Fixes #679
9 years ago
Kent C. Dodds
9ceeb115e7
Support more test filename conventions ( #721 )
* update docs with more conventions
* fix glob for __tests__
* add more conventions for test files to include
* update __tests__ glob per
https://github.com/sindresorhus/ava/pull/721#discussion_r58885097
* Update documentation for default globs
9 years ago
Mark Wubben
e33ce7a458
clean up stat collection in runner ( #728 )
Follow-up to #654 . No longer collecting stats for every test that completes.
Explicitly return `null` when no exclusive tests could be run.
9 years ago
Mark Wubben
ad14f50825
Document issue labels ( #729 )
* document issue labels
* minor fixup
9 years ago
Juan
22951189af
Add strict mode in `enhanced-assert.js` ( #741 )
9 years ago
Sindre Sorhus
bd4177955f
fix lint issues
9 years ago
Mark Wubben
55dfa4acb1
add missing link to .only modifier in watch mode recipe
9 years ago
James Talmage
31b268e603
Refactor API
* extract files processing from api
* extract test-data class from API
* fix breakage from rebase
* pass testData to reporters in every method
* rename testData to runStatus
* runStatus.listenToTestRun => runStatus.observeFork
* rename test-data.js to run-status.js
* fix failing watcher test
9 years ago
James Talmage
1e0b1c1447
0.14.0
9 years ago
Mark Wubben
e57908a91a
watch mode always runs all exclusive tests
Fixes #635 .
9 years ago
Juan
08ce25595d
Replace "callback" with "implementation" when talking about tests
9 years ago
Juan
21bdcc583f
Add test-like output when test file does not exist
9 years ago
Mark Wubben
61848ee42f
watcher: fix recursive test file matcher
The watcher used dir**/*.js as the recursive pattern when the initial pattern
matched a directory. This should be dir/**/*.js instead. Before this fix tests
were matched as sources, causing all tests to be rerun.
9 years ago
Runnin' Runnin' Runnin
37c67b90c2
Docs: Link to French translation for babelrc recipe
9 years ago
Kent C. Dodds
a7f50eb82d
rename `t.ok()` to `t.truthy()` and `t.notOk()` to `t.falsy()`
* refactor `ok` to `truthy` and `notOk` to `falsy`
* update tests to be more explicit
* update docs to use a better assertion api
* realign power-assert output
* quick typo fix
* update assertions
9 years ago
James Talmage
bcda7537dd
Add a recipe for properly configuring babel when using `.babelrc`.
9 years ago
James Talmage
9288d78a0b
add tests that demonstrate various ways to use babel config.
9 years ago
Mark Wubben
8465934532
Bump convert-source-map dependency, clean up duplicate require call
* convert-source-map@^1.2.0
The generateMapFileComment() method used in #662 isn't available in v1.1.2.
* use already required convert-source-map dependency
No need to require the generateMapFileComment() method separately.
Also remove unnecessary linebreak at the end of the file.
9 years ago
Mark Wubben
5b3c27ac9e
don't modify configured babel plugins array
9 years ago
Vadim Demedes
c4ec8e7e59
Clean up caching-precompiler
9 years ago
Kent C. Dodds
e9c6cc2843
rename `t.same()` to `t.deepEqual()`
9 years ago
Sindre Sorhus
e3e1752894
Merge pull request #654 from sindresorhus/timeout
Add timeout functionality
9 years ago
Juan
8d6490a21d
Make `test.todo(title, fn)` produce a failure
Fixes #697 .
9 years ago
vdemedes
ae45752597
calculate current stats in runner
9 years ago
vdemedes
d1a3669ed2
add timeout functionality
9 years ago
Sam Verschueren
c78e7367d0
Throw meaningful error if --require dependency is not found
Fixes #691
9 years ago
Mark Wubben
005b656b99
Merge pull request #692 from sindresorhus/revert-rerun-watch
Revert "rerun tests using "r" key"
9 years ago
Mark Wubben
ba1f5e830b
Revert "rerun tests using "r" key"
This reverts commit 5f109b6c02
.
See discussion in
<https://github.com/sindresorhus/ava/pull/658#issuecomment-198987516 >.
9 years ago
Sindre Sorhus
8bf6a9ed19
Merge pull request #656 from kutyel/patch-1
Add link to Spanish translation for TypeScript recipee
9 years ago
kutyel
85ad2e2cd3
Add Spanish link to TypeScript recipee
9 years ago
Sindre Sorhus
25a91cbd03
use HTML comments to hide instructions in the issue & PR templates
9 years ago
Sindre Sorhus
e6b60bf3e9
code style tweaks
9 years ago
Sindre Sorhus
0a9cfce4ae
fix module import order
according to https://github.com/jfmengels/eslint-plugin-import-order
thanks @jfmengels ! :)
9 years ago
Sindre Sorhus
efa4369006
Merge pull request #682 from zhaozhiming/zh_CN
doc: add Simplified Chinese translation link in docs
9 years ago
zhaozhiming
349ee8177a
doc: add Simplified Chinese translation link in docs
9 years ago
Mark Wubben
0f0c07067c
Merge pull request #680 from sindresorhus/sigabrt
Reject test runs when forks exit with an unexpected signal
9 years ago
Mark Wubben
8949b85be4
reject test runs when forks exit with an unexpected signal
9 years ago
Mark Wubben
96e1263165
test fork rejection behavior
9 years ago
Mark Wubben
02fc6a17a9
remove node 0.10 sigterm code handling
The child process is no longer killed from the main process, instead it exits
upon receiving an 'exit' message. This makes the changes from
<https://github.com/sindresorhus/ava/pull/155 > redundant.
9 years ago
James Talmage
f2c070987e
Merge pull request #664 from kentcdodds/pr/update-contributing
add note about AVA mantra in contributing guidelines
9 years ago
James Talmage
d2e0c64ff7
Merge pull request #667 from jamestalmage/print-plan-expectation
Print the planned and actual assertion count when incorrect.
9 years ago
James Talmage
07febb2c53
Print the planned and actual assertion count when incorrect.
Fixes #102
9 years ago
Sindre Sorhus
92e034b5ab
Merge pull request #662 from sindresorhus/add-test-file-source-map-comments
Ensure source map can be resolved from cached code
9 years ago
Vadim Demedes
12301d72fd
Merge pull request #666 from jamestalmage/fix-gitter-badge
Fix Gitter badge on npm site
9 years ago
James Talmage
b738e9bd5a
Fix Gitter badge on npm.
npmjs.com does not correctly display the gitter badge. My guess is that it's due to the unencoded space character in the image URL (won't know for sure until we publish again).
9 years ago
Kent C. Dodds
d306c4ac74
add note about AVA mantra in contributing guidelines
9 years ago