[Pkg-javascript-commits] [node-ripemd160] 40/71: readme: added blurb on testing

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:25:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-ripemd160.

commit 9a959d459cdb85069c03262c11e20b4b0b0eec14
Author: JP Richardson <jprichardson at gmail.com>
Date:   Wed Jan 14 07:00:57 2015 -0600

    readme: added blurb on testing
---
 README.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/README.md b/README.md
index 1a50544..1d6180f 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,29 @@ var arr = [].slice.call(buf)
 ```
 
 
+Testing
+-------
+
+### Install dev deps:
+
+    npm install --development
+
+### Test in Node.js:
+
+    npm run test
+
+### Test in a Browser:
+
+Testing in the browser uses the excellent [Mochify](https://github.com/mantoni/mochify.js). Mochify can use either PhantomJS 
+or an actual browser. You must have Selenium installed if you want to use an actual browser. The easiest way is to 
+`npm install -g start-selenium` and then run `start-selenium`.
+
+Then run:
+
+    npm run browser-test
+
+
+
 License
 -------
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ripemd160.git



More information about the Pkg-javascript-commits mailing list