mirror of
https://github.com/biomejs/biome.git
synced 2025-12-23 08:21:13 +00:00
|
Some checks failed
CI on main / Format Rust Files (push) Waiting to run
CI on main / Lint Rust Files (push) Waiting to run
CI on main / Check Dependencies (push) Waiting to run
CI on main / Test (push) Waiting to run
CI on main / Test262 Coverage (push) Waiting to run
Release / Release (push) Waiting to run
Release / Package win32-arm64 (push) Blocked by required conditions
Release / Package win32-x64 (push) Blocked by required conditions
Release / Package linux-arm64 (push) Blocked by required conditions
Release / Package linux-x64 (push) Blocked by required conditions
Release / version (push) Blocked by required conditions
Release / Package darwin-arm64 (push) Blocked by required conditions
Release / Package darwin-x64 (push) Blocked by required conditions
Release / Package linux-arm64-musl (push) Blocked by required conditions
Release / Package linux-x64-musl (push) Blocked by required conditions
Release / Build WASM (push) Blocked by required conditions
Release / Package JavaScript APIs (push) Blocked by required conditions
Release / Publish CLI (push) Blocked by required conditions
Release / Publish JS API (push) Blocked by required conditions
Repository dispatch on main / Build @biomejs/wasm-web (push) Waiting to run
Repository dispatch on main / Repository dispatch (push) Blocked by required conditions
Benchmarks GraphQL / Bench (push) Has been cancelled
Benchmarks JS / Bench (push) Has been cancelled
Benchmarks JSON / Bench (push) Has been cancelled
Benchmarks Configuration / Bench (push) Has been cancelled
Benchmarks CSS / Bench (push) Has been cancelled
Benchmarks Manifests / Bench (push) Has been cancelled
Benchmarks Module Graph / Bench (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| README.md | ||
coverage
cargo coverage
Runs the parser against the various test suites to validate its conformance.
Run coverage command.
USAGE:
cargo coverage <SUBCOMMAND> [option]
SUBCOMMANDS:
compare Compares output between two --json outputs
OPTIONS
--markdown Emits supported output into markdown format. Supported by `compare` subcommand.
--json Prints the test results in JSON. This mode will send all other test output and user messages to stderr.
--detailed=[debug] Prints a detailed summary at the end for all failing tests. Includes in depth details if set to `debug`.
--suites=<IDS> Runs the specified tests suites. Use comma as separator.
Valid values are:
*: will run all suites
js: will run all javascript suites; Same as "js/262";
ts: will run all typescript suites; Same as "ts/microsoft,ts/babel";
jsx: will run all jsx suites; Same as "jsx/babel";
js/262: will run https://github.com/tc39/test262/tree/main/test;
ts/microsoft: will run https://github.com/microsoft/Typescript/tree/main/tests/cases
ts/babel: will run https://github.com/babel/babel/tree/main/packages/babel-parser/test/fixtures/typescript
jsx/babel: will run https://github.com/babel/babel/tree/main/packages/babel-parser/test/fixtures/jsx/basic
Default is "*".
--filter=<file> Filters out tests that don't match the query.
--help Prints this help.
cargo coverage compare
Useful to compare the coverage, for example between your feature branch and main.
# (commit your code on pr branch, run)
git checkout main
cargo coverage --json > base_results.json
git checkout <your branch>
cargo coverage --json > new_results.json
cargo coverage compare ./base_results.json ./new_results.json --markdown