You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
10
10
11
11
## [Unreleased]
12
12
13
+
- Add unstable `--branch` flag to include branch coverage. ([#356](https://github.com/taiki-e/cargo-llvm-cov/pull/356))
14
+
13
15
## [0.6.7] - 2024-03-10
14
16
15
17
- Add `--nextest-archive-file` option to `cargo llvm-cov report` to support calling it for the result of `cargo llvm-cov nextest --archive-file`. ([#355](https://github.com/taiki-e/cargo-llvm-cov/pull/355))
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Cargo subcommand to easily use LLVM source-based code coverage.
8
8
9
9
This is a wrapper around rustc [`-C instrument-coverage`][instrument-coverage] and provides:
10
10
11
-
- Generate very precise coverage data. (line coverage and region coverage)
11
+
- Generate very precise coverage data. (line, region, and branch coverage. branch coverage is currently optional and requires nightly, see [#8] for more)
12
12
- Support `cargo test`, `cargo run`, and [`cargo nextest`][nextest] with command-line interface compatible with cargo.
13
13
- Support for proc-macro, including coverage of UI tests.
14
14
- Support for doc tests. (this is currently optional and requires nightly, see [#2] for more)
@@ -181,6 +181,9 @@ OPTIONS:
181
181
182
182
This flag can only be used together with --json, --lcov, or --cobertura.
183
183
184
+
--branch
185
+
Include branch coverage. (unstable)
186
+
184
187
--doctests
185
188
Including doc tests (unstable)
186
189
@@ -685,7 +688,7 @@ pacman -S cargo-llvm-cov
685
688
686
689
## Known limitations
687
690
688
-
- Branch coverage is not supported yet. See [#8] and [rust-lang/rust#79649] for more.
691
+
- Support for branch coverage is unstable. See [#8] and [rust-lang/rust#79649] for more.
689
692
- Support for doc tests is unstable and has known issues. See [#2] and [rust-lang/rust#79417] for more.
690
693
691
694
See also [the code-coverage-related issues reported in rust-lang/rust](https://github.com/rust-lang/rust/labels/A-code-coverage).
0 commit comments