Permalink
Browse files

tests

  • Loading branch information...
1 parent c5c513b commit af659c1081e9819e8db273ac018fd8444534458c Yaron Naveh committed Mar 9, 2013
Showing with 1 addition and 2 deletions.
  1. +0 −1 selective.js
  2. +1 −1 tests/test.js
View
@@ -116,7 +116,6 @@ var selective = {
selective.log('starting selective execution')
-if (process.argv.indexOf('--sel')==-1) return
selective.verbose = process.argv.indexOf('--verbose')!=-1
coverage.hookRequire(selective.verbose);
selective.init()
View
@@ -75,7 +75,7 @@ describe('selective test execution', function() {
var runTests = function(file, gitstatus) {
gitstatus = gitstatus || ' '
- var cmd = 'gitstatus="' + gitstatus + '" ./node_modules/mocha/bin/mocha ./first.js ./tests/aut/' + file + ' --sel'
+ var cmd = 'gitstatus="' + gitstatus + '" ./node_modules/mocha/bin/mocha ./first.js ./tests/aut/' + file
var res = execSync.stdout(cmd)
return res
}

0 comments on commit af659c1

Please sign in to comment.