oxc/tasks/coverage
2023-11-25 15:56:09 +08:00
..
babel@d062d47d57 chore: bump submodules and snapshots 2023-10-06 16:15:35 +13:00
misc fix(parser): Fix type import (#1291) 2023-11-14 15:17:58 +08:00
src feat(ast): implement new proposal-import-attributes (#1476) 2023-11-25 15:56:09 +08:00
test262@2060494f28 feat(ast): implement new proposal-import-attributes (#1476) 2023-11-25 15:56:09 +08:00
typescript@628bf0ec85 fix(parser): Fix type import (#1291) 2023-11-14 15:17:58 +08:00
Cargo.toml refactor(rust): move to workspace lint table (#1444) 2023-11-20 14:38:10 +08:00
codegen_babel.snap feat: adjust the order of print semicolon (#1003) 2023-10-16 21:33:15 +08:00
codegen_misc.snap fix(parser): Fix type import (#1291) 2023-11-14 15:17:58 +08:00
codegen_test262.snap feat(ast): implement new proposal-import-attributes (#1476) 2023-11-25 15:56:09 +08:00
codegen_typescript.snap fix(parser): Fix type import (#1291) 2023-11-14 15:17:58 +08:00
minifier_babel.snap feat(codegen): implement the basics of non-minifying codegen (#987) 2023-10-13 13:34:21 +08:00
minifier_test262.snap feat(ast): implement new proposal-import-attributes (#1476) 2023-11-25 15:56:09 +08:00
parser_babel.snap fix(parser): Disallow ReservedWord in NamedExports (#1230) 2023-11-12 10:52:02 +00:00
parser_misc.snap fix(parser): Fix type import (#1291) 2023-11-14 15:17:58 +08:00
parser_test262.snap feat(ast): implement new proposal-import-attributes (#1476) 2023-11-25 15:56:09 +08:00
parser_typescript.snap feat(ast): implement new proposal-import-attributes (#1476) 2023-11-25 15:56:09 +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'