Permalink
Browse files

small fixes to the previous load. changed dep order

  • Loading branch information...
1 parent 324d746 commit f900da73033dc4a77b8ff09a57e3c6c25c51a148 @urigolani committed Oct 4, 2011
Showing with 10 additions and 6 deletions.
  1. +6 −2 Readme.md
  2. +1 −1 index.js
  3. +3 −3 package.json
View
@@ -20,7 +20,7 @@
var services = {},
testService = null;
- services.rinuts = require('./rinuts');
+ services.rinuts = require('rinuts');
testService = new services.rinuts();
// add test modules
@@ -56,7 +56,11 @@
...
}
- * GET /tests/:testName : Returns an individual entry from the list above.
+ * GET /tests/:testName : Returns an individual entry from the list above. has the form of:
+ {
+ "name": "*testName*",
+ "module": "*moduleName*",
+ "url": "/tests/*moduleName*/*testName*"}
* POST /tests/:testName : Executes the individual test and returns the test run summary, including stdout/err capture, in the following structure:
{
View
@@ -1 +1 @@
-moudle.exports = require('./lib/testService);
+module.exports = require('./lib/testService');
View
@@ -3,9 +3,9 @@
"author": "Uri Golani <urigolani@gmail.com>",
"description": "A service which allows to expose nodeunit based tests in a RESTful api for querying and running them, using http requests",
"dependencies": {
- "nodeunit": "0.5.4",
- "express": ">= 2.4.6",
- "mime": "1.2.1"
+ "mime": "1.2.1",
+ "nodeunit": "0.5.4",
+ "express": ">= 2.4.6"
},
"main": "index",
"keywords": [ "nodeunit", "rest", "restful", "test" ],

0 comments on commit f900da7

Please sign in to comment.