From 10a60a17e5ec08c1bee16427614c4246dd2a0438 Mon Sep 17 00:00:00 2001 From: Myles Borins <mborins@us.ibm.com> Date: Fri, 15 Apr 2016 15:15:03 -0300 Subject: [PATCH] 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> --- BUILDING.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/BUILDING.md b/BUILDING.md index da52875e7baba4..7e52658eec8c35 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