oxc/tasks/coverage
2023-03-30 23:27:26 +08:00
..
babel@6925ac555c feat(linter): implement isolated_declaration (#209) 2023-03-26 04:37:10 -07:00
src refactor(semantic): add source_text and trivias to semantic 2023-03-25 14:19:53 +08:00
test262@9704d7f22f feat(linter): implement isolated_declaration (#209) 2023-03-26 04:37:10 -07:00
typescript@7f292bf2a1 feat(linter): implement isolated_declaration (#209) 2023-03-26 04:37:10 -07:00
babel.snap refactor(oxc_parser): simply diagnostic messages 2023-03-18 14:39:44 +08:00
Cargo.toml chore: clean up Cargo.toml 2023-03-30 23:27:26 +08:00
printer.snap chore: bump submodules 2023-03-15 12:46:21 +08:00
README.md chore(coverage): print negative tests; enable decorators; update to the latest remote 2023-03-07 23:37:00 +08:00
test262.snap feat(linter): implement isolated_declaration (#209) 2023-03-26 04:37:10 -07:00
typescript.snap feat(linter): implement isolated_declaration (#209) 2023-03-26 04:37:10 -07:00

Coverage

The parser is tested against test262, babel and TypeScript for conformance.

Note: tests against regexp are disabled for now.

Clone the test files beforehand:

git submodule update

For maintainers, update to the latest remote, run:

git submodule update --remote

Development

# full run
cargo coverage
cargo coverage js # for test262
cargo coverage babel # for babel
cargo coverage ts # for typescript

# run in watch
cargo watch -x 'coverage js'

# filter for a file path
cargo watch -x 'coverage js --filter filter-file-path'