oxc/tasks/coverage
2024-01-04 20:41:31 +08:00
..
babel@7c29fbc4db chore: update snapshots 2023-11-28 16:27:10 +08:00
misc fix(parser): await in jsx expression 2023-12-19 20:23:16 +08:00
src
test262@467a0fe68f chore: update snapshots 2023-11-28 16:27:10 +08:00
typescript@b6121e400c chore: update snapshots 2023-11-28 16:27:10 +08:00
Cargo.toml deps(rust): bump deps (#1888) 2024-01-04 20:41:31 +08:00
codegen_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
codegen_misc.snap fix(parser): await in jsx expression 2023-12-19 20:23:16 +08:00
codegen_test262.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
codegen_typescript.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
minifier_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
minifier_test262.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
parser_babel.snap fix(parser): terminate parsing if an EmptyParenthesizedExpression error occurs (#1874) 2024-01-03 11:34:14 +08:00
parser_misc.snap fix(parser): await in jsx expression 2023-12-19 20:23:16 +08:00
parser_test262.snap perf(semantic): check duplicate parameters in Binder of FormalParameters (#1840) 2024-01-03 12:57:03 +08:00
parser_typescript.snap perf(semantic): check duplicate parameters in Binder of FormalParameters (#1840) 2024-01-03 12:57:03 +08:00
README.md

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 --init

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'