oxc/tasks/coverage
2024-02-01 20:46:38 +08:00
..
babel@eccbd20338 chore(just): change sync command to sync-submodules 2024-01-22 17:45:13 +08:00
misc fix(parser): fix crash on TSTemplateLiteralType in function return position (#2089) 2024-01-19 23:14:05 +08:00
src ci: disable codegen runtime tests for now 2024-01-15 21:24:07 +08:00
test262@17ba9aea47 chore(just): change sync command to sync-submodules 2024-01-22 17:45:13 +08:00
typescript@64d2eeea7b chore: update snapshots 2024-01-22 19:16:09 +08:00
Cargo.toml chore(deps): update rust crates (#2199) 2024-01-30 15:30:22 +08:00
codegen_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
codegen_misc.snap fix(parser): fix crash on TSTemplateLiteralType in function return position (#2089) 2024-01-19 23:14:05 +08:00
codegen_runtime_test262.snap chore(tasks): update codegen runtime snapshot (#2223) 2024-01-31 12:25:28 +08:00
codegen_test262.snap chore: update snapshots 2024-01-22 19:16:09 +08:00
codegen_typescript.snap fix(ast): AcessorProperty is missing decorators (#2176) 2024-01-26 15:43:05 +08:00
minifier_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
minifier_test262.snap chore: update snapshots 2024-01-22 19:16:09 +08:00
parser_babel.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
parser_misc.snap fix(parser): fix crash on TSTemplateLiteralType in function return position (#2089) 2024-01-19 23:14:05 +08:00
parser_test262.snap fix(oxc_semantic): proper traversal of try statements (#2250) 2024-02-01 20:46:38 +08:00
parser_typescript.snap refactor(semantic): checking label in ContinueStatement based on LabelBuilder (#2202) 2024-01-29 18:24:42 +08:00
README.md chore(coverage): remove mention of git submodule update --remote in README 2023-04-01 10:57:25 +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 --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'