oxc/tasks/coverage
2023-08-19 18:09:47 +08:00
..
babel@d062d47d57
misc
src feat(ast): add SymbolId and ReferenceId (#755) 2023-08-19 18:09:47 +08:00
test262@c4642dd714
typescript@2f34e57ed3
Cargo.toml
formatter_babel.snap
formatter_test262.snap
minifier_babel.snap
minifier_test262.snap
parser_babel.snap Adding types to the symbol table - consistent export type sample rule implemented (#667) 2023-07-31 12:33:47 +08:00
parser_misc.snap
parser_test262.snap
parser_typescript.snap Adding types to the symbol table - consistent export type sample rule implemented (#667) 2023-07-31 12:33:47 +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'