Permalink
Browse files

created a test suite to collect all tests running without an error

  • Loading branch information...
1 parent 99e6c6f commit df5c6d7919875ef66c334058e9686f61f6d800cf @pavlobaron committed May 6, 2012
Showing with 18 additions and 1 deletion.
  1. +10 −1 README.md
  2. +8 −0 test/test_suite.sh
View
@@ -41,7 +41,16 @@ and runnable with riak_mongo. You need to do following:
$ ./init.sh
$ ./test.sh update.js
-Before you can use the suite, you need to initialize it. The JS code will be checked out of the Mongo github repository. You need this step only once. After that, you only need to call test.sh. Its parameter is the name of the test JS included with the Mongo distribution. Look in your test/mongo/jstests folder to find the tests you can run.
+Before you can use the suite, you need to initialize it. The JS code
+will be checked out of the Mongo github repository. You need this step
+only once. After that, you only need to call test.sh. Its parameter is
+the name of the test JS included with the Mongo distribution. Look in
+your test/mongo/jstests folder to find the tests you can run
+separately. I you want to run the suite of the tests already running
+without errors, just run:
+
+ $ cd test
+ $ ./test_suite.sh
No auth, SSL and no IPv6 are considered yet.
View
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd mongo
+git update
+cd jstests
+
+echo "running JS test stuite"
+mongo --verbose -port 32323 insert1.js insert2.js

0 comments on commit df5c6d7

Please sign in to comment.