https://github.com/sculpt0r/vsc-ava-test-runner
Run AVA tests from the source code.
https://github.com/sculpt0r/vsc-ava-test-runner
ava vscode-extension
Last synced: 4 months ago
JSON representation
Run AVA tests from the source code.
- Host: GitHub
- URL: https://github.com/sculpt0r/vsc-ava-test-runner
- Owner: sculpt0r
- License: mit
- Created: 2022-06-04T12:24:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T18:03:07.000Z (almost 2 years ago)
- Last Synced: 2025-10-20T22:02:11.740Z (8 months ago)
- Topics: ava, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=sculpt0r.vsc-ava-test-runner
- Size: 604 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vsc-ava-test-runner
[](https://github.com/sculpt0r/vsc-ava-test-runner/actions/workflows/test.yml)
Visual Studio Code [AVA](https://github.com/avajs/ava) test runner. This extension helps to run a single test file/test case right from the code.
## Features
Run and debug test file via VS Code command or test case via Code Lens

## Requirements
- This extension assume the project uses & has installed `AVA` package.
- Extension commands are run via `npx`. Should work even if you use `pnpm`.
## Extension Settings
This extension contributes the following settings:
* `ava-runner.experimentalEnabled` [ boolean ]: enable all [experimental features](#experimental-features). Those features might be unstable or could be removed from the extension in the feature.
## Experimental Features
* CodeLens: run test case by [line number](https://github.com/avajs/ava/blob/main/docs/05-command-line.md#running-tests-at-specific-line-numbers). Please note that some TS projects might not be able to run test case with this code lens. However, this option is more accurate and it is free from the glob pattern issue related with `--match` AVA options. AVA [`4.3.1`](https://github.com/avajs/ava/releases/tag/v4.3.1) made some improvements in this topic.
## Known Issues
Single tests are run via the [`--match` option](https://github.com/avajs/ava/blob/main/docs/05-command-line.md#running-tests-with-matching-titles). Be aware that some characters in the test case name have a special meaning.