Commit 4869daf 1 parent ff3e592 commit 4869daf Copy full SHA for 4869daf
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 @@ -126,6 +126,25 @@ To run the tests:
126
126
$ make test
127
127
```
128
128
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
+
140
+ The ` make coverage ` command downloads some tools to the project root directory
141
+ and overwrites the ` lib/ ` directory. To clean up after generating the coverage
142
+ reports:
143
+
144
+ ``` console
145
+ make coverage-clean
146
+ ```
147
+
129
148
To build the documentation:
130
149
131
150
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