Commit 53d53cf 1 parent 2881911 commit 53d53cf Copy full SHA for 53d53cf
File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,25 @@ To run the tests:
128
128
$ make test
129
129
```
130
130
131
+ To run the tests and generate code coverage reports:
132
+
133
+ ``` console
134
+ $ ./configure --coverage
135
+ $ make coverage
136
+ ```
137
+
138
+ This will generate coverage reports for both JavaScript and C++ tests (if you
139
+ only want to run the JavaScript tests then you do not need to run the first
140
+ command ` ./configure --coverage ` ).
141
+
142
+ The ` make coverage ` command downloads some tools to the project root directory
143
+ and overwrites the ` lib/ ` directory. To clean up after generating the coverage
144
+ reports:
145
+
146
+ ``` console
147
+ make coverage-clean
148
+ ```
149
+
131
150
To build the documentation:
132
151
133
152
This will build Node.js first (if necessary) and then use it to build the docs:
You can’t perform that action at this time.
0 commit comments