Skip to content

Commit 0408aff

Browse files
committed
doc: instructions for generating coverage reports
Add instructions for generating code coverage reports to BUILDING.md
1 parent d932e80 commit 0408aff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

BUILDING.md

+11
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,17 @@ To run the tests:
126126
$ make test
127127
```
128128

129+
To run the tests and generate code coverage reports:
130+
131+
```console
132+
$ ./configure --coverage
133+
$ make coverage
134+
```
135+
136+
This will generate coverage reports for both JavaScript and C++ tests (if you
137+
only want to run the JavaScript tests then you do not need to run the first
138+
command `./configure --coverage`).
139+
129140
To build the documentation:
130141

131142
This will build Node.js first (if necessary) and then use it to build the docs:

0 commit comments

Comments
 (0)