oxc/tasks/coverage
underfin a2cfc867cb
feat: SourcemapVisualizer (#2773)
Export `SourcemapVisualizer` from codegen, it will be used oxc and
rolldown sourcemap test, so it support multiply source print, it will
using sourcemap `sourcesContent` as original source.
2024-03-21 11:19:09 +08:00
..
misc fix(parser): fix failed to parse JSXChild after JSXEmptyExpression (#2726) 2024-03-15 13:39:20 +08:00
src feat: SourcemapVisualizer (#2773) 2024-03-21 11:19:09 +08:00
Cargo.toml chore(deps): update rust crates (#2747) 2024-03-17 16:40:42 +00:00
codegen_babel.snap feat(Codegen): Improve codegen (#2460) 2024-02-21 14:41:57 +08:00
codegen_misc.snap fix(parser): fix failed to parse JSXChild after JSXEmptyExpression (#2726) 2024-03-15 13:39:20 +08:00
codegen_runtime_test262.snap fix(codegen): when async is on the left-hand side of a for-of, wrap it in parentheses (#2407) 2024-02-13 22:42:23 +08:00
codegen_sourcemap.snap fix(codegen): CallExpression sourcemap (#2717) 2024-03-14 07:53:22 +00:00
codegen_test262.snap feat(Codegen): Improve codegen (#2460) 2024-02-21 14:41:57 +08:00
codegen_typescript.snap feat(Codegen): Improve codegen (#2460) 2024-02-21 14:41:57 +08:00
minifier_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
minifier_test262.snap chore: update snapshots 2024-01-22 19:16:09 +08:00
parser_babel.snap fix(parser): remove all duplicated comments in trivia builder (#2689) 2024-03-12 17:51:22 +08:00
parser_misc.snap fix(parser): fix failed to parse JSXChild after JSXEmptyExpression (#2726) 2024-03-15 13:39:20 +08:00
parser_test262.snap chore(parser): make sure all span.end >= span.start (#2681) 2024-03-11 19:49:51 +08:00
parser_typescript.snap fix(parser): remove all duplicated comments in trivia builder (#2689) 2024-03-12 17:51:22 +08:00
prettier_babel.snap feat(prettier/ts): better conformance (#2721) 2024-03-20 18:59:49 +08:00
prettier_misc.snap fix(parser): fix failed to parse JSXChild after JSXEmptyExpression (#2726) 2024-03-15 13:39:20 +08:00
prettier_test262.snap fix(prettier): print bare import (#2633) 2024-03-07 14:03:20 +08:00
prettier_typescript.snap feat(prettier/ts): better conformance (#2721) 2024-03-20 18:59:49 +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'