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 <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
Myles Borins authored and evanlucas committed May 17, 2016
1 parent 6ea43d1 commit 5c154a8
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 @@ -50,6 +50,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:

This will build Node.js first (if necessary) and then use it to build the docs:
Expand Down

0 comments on commit 5c154a8

Please sign in to comment.