Skip to content

Commit 4795b52

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 <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 65a0153 commit 4795b52

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

BUILDING.md

Lines changed: 15 additions & 0 deletions
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)