Skip to content

Commit 10a60a1

Browse files
author
Myles Borins
committed
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 <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 2fee506 commit 10a60a1

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
```text

0 commit comments

Comments
 (0)