Skip to content

Commit 29e25d8

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 fcc6a34 commit 29e25d8

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
@@ -41,6 +41,21 @@ To run the tests:
4141
$ make test
4242
```
4343

44+
To run the native module tests:
45+
46+
```text
47+
$ make test-addons
48+
```
49+
50+
To run the npm test suite:
51+
52+
*note: to run the suite on node v4 or earlier you must first*
53+
*run `make install`*
54+
55+
```
56+
$ make test-npm
57+
```
58+
4459
To build the documentation:
4560

4661
```text

0 commit comments

Comments
 (0)