Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Borins <mborins@us.ibm.com>2016-04-15 21:15:03 +0300
committerMyles Borins <mborins@us.ibm.com>2016-05-10 00:10:30 +0300
commit10a60a17e5ec08c1bee16427614c4246dd2a0438 (patch)
treecd01b1bce282e6b09f01e89bd3f39d44f6fbfbdd /BUILDING.md
parent2fee50658fe38bf6eeecb390d056df69f21acbbb (diff)
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>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md
index da52875e7ba..7e52658eec8 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -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:
```text