From 36cdf7fb0920339526630bdec22baf12f64b584d Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 21 Apr 2017 14:52:55 +0200 Subject: [PATCH] Add instructions for installing NPM --- Testing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Testing.md b/Testing.md index f318195..30a9181 100644 --- a/Testing.md +++ b/Testing.md @@ -16,6 +16,9 @@ First run `npm install` (not as root) at top level in your noVNC source code dir The tests take the form of Javascript files named `test.*.js` found in the /tests folder. We use Karma to run our tests. You can launch Karma manually, or simply run `npm test`. Then use a browser of your choosing and surf to the Karma server, see details in the output from the previous command. The Karma debug page will display the tests in normal mocha form, if you need it. +### Requirements ### + +The automatic tests require the Node Package Manager. On RPM systems, run `sudo dnf install npm`. On DPKG systems, run `sudo apt install npm`. Writing Tests =============