Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated readme to explain how to run tests

  • Loading branch information...
commit 4cd69469f04524b55d4e892297ac327b7aa942ab 1 parent 1631376
@emerleite authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 Readme.md
View
8 Readme.md
@@ -47,11 +47,13 @@ A full example can be found at (<https://github.com/emerleite/node-rating/blob/m
Running tests
-------------
-To run tests you will need to install with --dev to install nodeunit or install node unit manually. Then, you can run the following command:
+There is some ways to run tests:
-$ nodeunit test
+$ nodeunit test (you need nodeunit globaly installed. *npm install -g nodeunit*)
+$ npm test
+$ ./run-tests.js
-> For tests you need each database running (mongodb, redis, couchdb)
+> For tests you need each database running (mongodb, redis, couchdb, mysql)
> Or run once. Ex: nodeunit test/redis.test.js
To-Do
Please sign in to comment.
Something went wrong with that request. Please try again.