Skip to content

Commit 5c154a8

Browse files
Myles Borinsevanlucas
Myles Borins
authored andcommitted
doc: add steps for running addons + npm tests
Currently we do not document how to run the test suite for native modules or for npm. This commit updates BUILDING.md with the information needed to do so. It includes a caveat about Node v4 and earlier requiring `make install` to be run before running the npm test suite. PR-URL: #6231 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 6ea43d1 commit 5c154a8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

BUILDING.md

+15
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ To run the tests:
5050
$ make test
5151
```
5252

53+
To run the native module tests:
54+
55+
```text
56+
$ make test-addons
57+
```
58+
59+
To run the npm test suite:
60+
61+
*note: to run the suite on node v4 or earlier you must first*
62+
*run `make install`*
63+
64+
```
65+
$ make test-npm
66+
```
67+
5368
To build the documentation:
5469

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

0 commit comments

Comments
 (0)