oxc/tasks/coverage
2023-10-17 14:52:51 +08:00
..
babel@d062d47d57 chore: bump submodules and snapshots 2023-10-06 16:15:35 +13:00
misc fix(parser): parse [+In] in object binding initializer (#874) 2023-09-09 14:54:20 +08:00
src feat(transformer_conformance): read plugins options from babel options.json (#1006) 2023-10-17 14:52:51 +08:00
test262@c4642dd714 chore: bump submodules and snapshots 2023-10-06 16:15:35 +13:00
typescript@2f34e57ed3 chore: bump submodules and snapshots 2023-10-06 16:15:35 +13:00
Cargo.toml feat(codegen): implement the basics of non-minifying codegen (#987) 2023-10-13 13:34:21 +08:00
codegen_babel.snap feat: adjust the order of print semicolon (#1003) 2023-10-16 21:33:15 +08:00
codegen_test262.snap feat(codegen): implement the basics of non-minifying codegen (#987) 2023-10-13 13:34:21 +08:00
codegen_typescript.snap feat: adjust the order of print semicolon (#1003) 2023-10-16 21:33:15 +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(codegen): move minifying printer to codegen crate (#985) 2023-10-12 14:56:30 +08:00
parser_babel.snap feat(semantic): check non-simple lhs expression of assignment expression (#994) 2023-10-14 23:40:10 +08:00
parser_misc.snap
parser_test262.snap chore(coverage): remove regex-v-flag feature from parser tests (#975) 2023-10-11 06:18:22 +08:00
parser_typescript.snap feat(minifier): re-enable mangler (#972) 2023-10-10 14:32:58 +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'