oxc/tasks/coverage
2023-03-05 04:51:00 -08:00
..
babel@c38bf12f01 feat(oxc_parser): Parse modifiers before declaration 2023-03-01 22:50:23 -08:00
src feat(coverage): print diagnostics to snapshots 2023-02-22 19:23:01 +08:00
test262@d216cc1972 chore(tasks): update submodules 2023-02-24 13:08:22 +08:00
typescript@8f40d5633f feat(oxc_parser): Parse modifiers before declaration 2023-03-01 22:50:23 -08:00
babel.snap feat(oxc_parser): Parse modifiers before declaration 2023-03-01 22:50:23 -08:00
Cargo.toml chore(rust): bump deps 2023-03-05 04:51:00 -08:00
printer.snap chore(coverage): update snapshots 2023-02-24 13:12:07 +08:00
README.md chore: update contribution docs 2023-02-24 13:24:42 +08:00
test262.snap feat(parser): better diagnostic for missing semicolon in for loop statement (#133) 2023-03-05 04:13:23 -08:00
typescript.snap feat(oxc_parser): Parse modifiers before declaration 2023-03-01 22:50:23 -08: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 --recursive

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'