Files
oxc-project__oxc/tasks/coverage/README.md
camc314 a8ed2a7837 docs(minifier): fix stale validation instructions (#26251)
Updates the minifier documentation to use supported validation commands and fixes broken relative links. Also refreshes the coverage task README so it no longer advertises removed suite selectors.
2026-09-02 15:49:32 +00:00

40 lines
812 B
Markdown

# Coverage tests
Tools are tested against [test262], [babel] and [TypeScript] for conformance.
Clone the test repositories beforehand:
```bash
just submodules
```
## Development
```bash
# full run
cargo coverage
# run a single tool against its supported conformance suites
cargo coverage parser
cargo coverage transformer
cargo coverage minifier
# run in watch
cargo watch -x 'coverage minifier'
# filter for a file path
cargo watch -x 'coverage minifier --filter filter-file-path'
# find crash scene by turning off rayon and print out the test cases in serial
cargo coverage --debug
# Run after submodules are updated
UPDATE_SNAPSHOT=1 just c
```
<!-- Links -->
[test262]: https://github.com/tc39/test262
[babel]: https://github.com/babel/babel
[TypeScript]: https://github.com/microsoft/TypeScript