Browse Source

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: https://github.com/nodejs/node/pull/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>
v4.x
Myles Borins 9 years ago
parent
commit
29e25d8489
  1. 15
      BUILDING.md

15
BUILDING.md

@ -41,6 +41,21 @@ To run the tests:
$ make test
```
To run the native module tests:
```text
$ make test-addons
```
To run the npm test suite:
*note: to run the suite on node v4 or earlier you must first*
*run `make install`*
```
$ make test-npm
```
To build the documentation:
```text

Loading…
Cancel
Save