From f0c5ca2f72c1c8129390d00ff46a963f073c8986 Mon Sep 17 00:00:00 2001
From: Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>
Date: Mon, 17 Oct 2016 20:57:11 -0200
Subject: Fix Build and Test section

Fix command to build and added a small section about testing
---
 README.md | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'README.md')

diff --git a/README.md b/README.md
index c5587ae..094078d 100644
--- a/README.md
+++ b/README.md
@@ -4072,7 +4072,7 @@ $ npm install
 Build SVG.js by running `gulp`:
 
 ``` sh
-$ npm test
+$ npm run build
 ```
 
 The resulting files are:
@@ -4080,6 +4080,16 @@ The resulting files are:
 1. `dist/svg.js`
 2. `dist/svg.min.js`
 
+## Testing
+There is two ways to run the test suite. One is from the command line and the other is in your browser.
+To run the test suit at the command line, you need to have Firefox installed.
+
+```sh
+$ npm test
+```
+
+To run the test suite in your browser, you need to serve the root project folder with an HTTP server like [ecstatic](https://github.com/jfhbrook/node-ecstatic) or [Apache](https://httpd.apache.org/).
+Navigate to `/spec/SpecRunner.htm` to run the tests.
 
 ## Compatibility
 
-- 
cgit v1.2.3