oxc/tasks/coverage
Boshen b0f4715df1
ci: disable codegen runtime tests for now
It seems to be unstable across node.js versions
2024-01-15 21:24:07 +08:00
..
babel@98c08853e3 feat(linter): eslint-plugin-import no-named-as-default-member rule (#1988) 2024-01-15 11:03:04 +00:00
misc fix(parser): unexpected ts type annotation in get/set (#1942) 2024-01-08 15:07:43 +08:00
src ci: disable codegen runtime tests for now 2024-01-15 21:24:07 +08:00
test262@a1ba783ca3 feat(linter): eslint-plugin-import no-named-as-default-member rule (#1988) 2024-01-15 11:03:04 +00:00
typescript@cf33fd0cde feat(linter): eslint-plugin-import no-named-as-default-member rule (#1988) 2024-01-15 11:03:04 +00:00
Cargo.toml chore(deps): bump the dependencies group with 3 updates (#2033) 2024-01-15 15:31:32 +08:00
codegen_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
codegen_misc.snap fix(parser): await in jsx expression 2023-12-19 20:23:16 +08:00
codegen_runtime_test262.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
codegen_test262.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
codegen_typescript.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
minifier_babel.snap chore: update snapshots 2023-11-28 16:27:10 +08:00
minifier_test262.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
parser_babel.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
parser_misc.snap fix(parser): unexpected ts type annotation in get/set (#1942) 2024-01-08 15:07:43 +08:00
parser_test262.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
parser_typescript.snap chore: update snapshots 2024-01-15 21:13:05 +08:00
README.md chore(coverage): remove mention of git submodule update --remote in README 2023-04-01 10:57:25 +08:00

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'