oxc/tasks/coverage
2023-02-11 08:02:42 -08:00
..
src feat(coverage): print parsing conformance for test262 (currently 100%) 2023-02-11 08:02:42 -08:00
test262@1c47728a20 feat(tasks): add initial test262 setup 2023-02-11 00:43:09 -08:00
Cargo.toml feat(coverage): print parsing conformance for test262 (currently 100%) 2023-02-11 08:02:42 -08:00
README.md feat(tasks): add initial test262 setup 2023-02-11 00:43:09 -08:00
test262.snap feat(coverage): print parsing conformance for test262 (currently 100%) 2023-02-11 08:02:42 -08:00

Coverage

The parser is tested against test262 for conformance.

Note: tests against regexp are disabled for now.

Clone the test files beforehand

git submodule update --init --recursive --remote --merge

Development

# full run
cargo coverage

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

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