ava/test
2023-07-02 17:26:14 +02:00
..
assertions Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
builtin-nodejs-assert Recognize typical assertion errors and use their formatting 2023-05-24 15:18:35 +02:00
cjs-default Update dependencies 2022-08-26 16:59:40 +02:00
concurrency Remove checks against very old config options and related cleanup 2023-06-25 15:23:04 +02:00
config Add a brand new watcher 2023-07-02 15:14:36 +02:00
config-require Enhance require feature 2023-06-25 15:25:46 +02:00
configurable-module-format Rely on TypeScript 4.7 and update integration + tests 2022-07-10 18:30:04 +02:00
environment-variables Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
extensions Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
external-assertions Recognize typical assertion errors and use their formatting 2023-05-24 15:18:35 +02:00
globs Move ignoredByWatcher to watchMode.ignoreChanges 2023-07-02 15:14:36 +02:00
helpers Add a brand new watcher 2023-07-02 15:14:36 +02:00
hook-restrictions Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
line-numbers Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
macros Modernize some syntax 2023-07-02 17:26:14 +02:00
meta Update dependencies and such 2023-01-15 21:33:33 +01:00
multiple-implementations Remove support for passing multiple test implementations 2021-07-10 15:41:20 +02:00
node-arguments Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
node_modules Remove accidentally committed test-ava symlink 2022-03-01 19:03:15 +01:00
scheduler Update all the things 2021-09-12 22:00:38 +02:00
shared-workers Modernize some syntax 2023-07-02 17:26:14 +02:00
snapshot-order Dependency updates 2022-01-02 19:38:30 +01:00
snapshot-regenerate-report Fix encoding of large snapshot data 2022-01-08 15:12:09 +01:00
snapshot-removal Add a brand new watcher 2023-07-02 15:14:36 +02:00
snapshot-tests Add a brand new watcher 2023-07-02 15:14:36 +02:00
snapshot-workflow Add a brand new watcher 2023-07-02 15:14:36 +02:00
test-process-exit Detect process.exit() called from tests 2022-09-04 15:08:35 +02:00
test-timeouts Use AVA 4 for the self-hosted tests 2022-01-01 19:43:52 +01:00
watch-mode Move ignoredByWatcher to watchMode.ignoreChanges 2023-07-02 15:14:36 +02:00
worker-threads Update all the things 2021-09-12 22:00:38 +02:00
.fake-root Find ava.config.* files outside of project directory 2021-10-31 19:44:31 +01:00
README.md Switch to ESM for internals 2021-06-06 15:39:52 +02:00

Self-hosted tests

This directory contains tests that are run using a stable version of AVA. You can run them using npx test-ava.

Tests should be placed in their own directory, grouped by area of responsibility. Use the exec helper to launch the AVA version that is in the repository to run tests. Place these in a nested fixtures directory. Add a relative dependency in package.json. You can then import from ava.

Prefer snapshotting the test results.