oxc/tasks/coverage
2024-06-25 03:43:02 +00:00
..
misc feat(parser): display jsx mismatch error, e.g. <Foo></Bar> (#3696) 2024-06-16 01:05:28 +08:00
src feat(coverage/transpile): compare error message (#3789) 2024-06-20 10:13:36 +00:00
Cargo.toml chore(transformer-dts): change crate to oxc_isolated_declarations (#3713) 2024-06-17 11:14:13 +00:00
codegen_babel.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
codegen_misc.snap fix(parser): parse const extends in arrow functions correctly (#3450) 2024-05-28 21:34:52 +08:00
codegen_runtime_test262.snap feat(codegen): improve codegen formatting (#3731) 2024-06-18 04:14:10 +00:00
codegen_sourcemap.snap feat(codegen): improve codegen formatting (#3735) 2024-06-18 11:10:36 +00:00
codegen_test262.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
codegen_typescript.snap fix(codegen): improve typescript codegen (#3708) 2024-06-17 09:34:54 +00:00
minifier_babel.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
minifier_test262.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
parser_babel.snap fix(parser): trailing comma is not allowed in ParenthesizedExpression (#3885) 2024-06-24 14:56:32 +00:00
parser_misc.snap feat(parser): display jsx mismatch error, e.g. <Foo></Bar> (#3696) 2024-06-16 01:05:28 +08:00
parser_test262.snap improvement(semantic/cfg): rework error path. (#3519) 2024-06-13 07:36:16 +00:00
parser_typescript.snap refactor(parser): improve parsing of parse_function_or_constructor_type (#3892) 2024-06-25 03:43:02 +00:00
prettier_babel.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
prettier_misc.snap fix(parser): parse const extends in arrow functions correctly (#3450) 2024-05-28 21:34:52 +08:00
prettier_test262.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
prettier_typescript.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
README.md chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
transformer_babel.snap feat(coverage): transformer idempotency test (#3691) 2024-06-15 13:59:53 +00:00
transformer_misc.snap fix(parser): parse const extends in arrow functions correctly (#3450) 2024-05-28 21:34:52 +08:00
transformer_test262.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
transformer_typescript.snap feat(coverage): transformer idempotency test (#3691) 2024-06-15 13:59:53 +00:00
transpile.snap feat(coverage/transpile): compare error message (#3789) 2024-06-20 10:13:36 +00:00

Coverage

Tools are tested against test262, babel and TypeScript for conformance.

Clone the test repositories beforehand:

just submodules

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'

# find crash scene by turning off rayon and print out the test cases in serial
cargo coverage -- --debug

# Run after submodules are updated
UPDATE_SNAPSHOT=1 just c