Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

v0.0.2

Updated logging, and extended configuration file support
  • Loading branch information...
commit 8fddbe095843f8f78900b2639472242b20f8fefe 1 parent 499a5e3
Doug Martin authored
View
1  .gitignore
@@ -1,4 +1,3 @@
.DS_Store
-test
node_modules
*.iml
View
3  .npmignore
@@ -1,3 +1,2 @@
test
-node_modules
-examples
+
View
4 lib/util/parser.js
@@ -28,7 +28,11 @@ var parseAndRunTest = function(data, browser) {
var cmdFile = isAbsolutePath(cmd.file) ? cmd.file : cwd + "/" + cmd.file;
!externFiles[cmdFile] && (externFiles[cmdFile] = require(cmdFile));
var file = externFiles[cmdFile];
+ if(file[cmd.fun]){
args.push(file[cmd.fun].apply(file, cmd.args || []));
+ }else{
+ throw new Error(cmd.fun + " does not exist in cmdFile");
+ }
} else {
if (cmd.target) args.push(cmd.target);
if (cmd.value) args.push(cmd.value);
View
6 package.json
@@ -2,10 +2,10 @@
"name": "soda-runner",
"description": "Runner for sodaJS",
"keywords": ["selenium", "soda", "testing", "test", "tests"],
- "version": "0.0.1",
+ "version": "0.0.2",
"author": "Doug Martin doug@dougamartin.com",
"main": "./index.js",
"bin" : { "soda-runner": "./bin/soda-runner" },
- "dependencies" : {"soda" : ">=0.2.4", "vows": "*"},
+ "dependencies" : {"soda" : ">=0.2.4", "vows": "*", "comb" : ">=0.0.2"},
"engines": { "node": ">= 0.4.8" }
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.