Skip to content
Browse files

Updated readme to explain how to run tests

  • Loading branch information...
1 parent 1631376 commit 4cd69469f04524b55d4e892297ac327b7aa942ab @emerleite committed
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

0 comments on commit 4cd6946

Please sign in to comment.
Something went wrong with that request. Please try again.