We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0e660 commit a260190Copy full SHA for a260190
BUILDING.md
@@ -129,6 +129,25 @@ To run the tests:
129
$ make test
130
```
131
132
+To run the tests and generate code coverage reports:
133
+
134
+```console
135
+$ ./configure --coverage
136
+$ make coverage
137
+```
138
139
+This will generate coverage reports for both JavaScript and C++ tests (if you
140
+only want to run the JavaScript tests then you do not need to run the first
141
+command `./configure --coverage`).
142
143
+The `make coverage` command downloads some tools to the project root directory
144
+and overwrites the `lib/` directory. To clean up after generating the coverage
145
+reports:
146
147
148
+make coverage-clean
149
150
151
To build the documentation:
152
153
This will build Node.js first (if necessary) and then use it to build the docs:
0 commit comments