oxc/tasks/coverage
Boshen d65c652700
feat(parser): display jsx mismatch error, e.g. <Foo></Bar> (#3696)
relates #3548 

I'll remove the closing name in a follow up PR.

The snapshot is incorrect, so I created a follow up issue:
https://github.com/oxc-project/oxc/issues/3697
2024-06-16 01:05:28 +08:00
..
misc feat(parser): display jsx mismatch error, e.g. <Foo></Bar> (#3696) 2024-06-16 01:05:28 +08:00
src feat(coverage): transformer idempotency test (#3691) 2024-06-15 13:59:53 +00:00
Cargo.toml feat(coverage): add dts transform coverage test (#3675) 2024-06-14 14:29:27 +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 chore(coverage): ignore eval related code in codegen runtime (#3628) 2024-06-11 15:23:36 +00:00
codegen_sourcemap.snap feat(codegen)!: remove CodegenOptions::enable_typescript (#3674) 2024-06-14 21:56:00 +08:00
codegen_test262.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
codegen_typescript.snap chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08: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 chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08: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 feat(parser): display jsx mismatch error, e.g. <Foo></Bar> (#3696) 2024-06-16 01:05:28 +08: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(transformer-dts): report error for async function and generator (#3688) 2024-06-15 13:34:25 +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