Skip to content

Commit

Permalink
doc: add steps for running addons + npm tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Myles Borins committed May 18, 2016
1 parent fcc6a34 commit 29e25d8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29e25d8

Please sign in to comment.