Skip to content

Commit 45e763b

Browse files
committed
Further refinements to coverage.md
1 parent ad61109 commit 45e763b

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

doc/coverage.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,16 @@ However, advanced users may want to understand exactly how `--coverage` works:
9191
executable. See
9292
[#1359](https://github.com/commercialhaskell/stack/issues/1359).
9393

94-
5. After the build completes, if there are multiple output `*.tix` files, they
95-
get combined into a unified report.
94+
5. Once we have a `.tix` file for a test, we also generate a textual and HTML
95+
report for it. The textual report is sent to the terminal. The index of the
96+
test-specific HTML report is available at `$(stack path
97+
--local-hpc-root)/pkg-name/test-name/index.html`
9698

97-
6. Finally, an index of the resulting coverage reports is generated. It links to
99+
6. After the build completes, if there are multiple output `*.tix` files, they
100+
get combined into a unified report. The index of this report will be
101+
available at `$(stack path --local-hpc-root)/combined/all/index.html`
102+
103+
7. Finally, an index of the resulting coverage reports is generated. It links to
98104
the individual coverage reports (one for each test-suite), as well as the
99-
unified report.
105+
unified report. This index is available at `$(stack path
106+
--local-hpc-root)/index.html`

0 commit comments

Comments
 (0)