Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Nov 15, 2016
1 parent 0f73dca commit 44cb289
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions test/src/runner/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = {
runner.run();
},


testRunNoSrcFoldersArgument : function(done) {
var runner = new Runner(undefined, {}, {
output_folder : false
Expand Down Expand Up @@ -126,34 +125,6 @@ module.exports = {
});
},

'test detailed_output disabled and test failures': function (done) {
var testsPath = path.join(__dirname, '../../sampletests/withfailures');

var origConsoleLog = console.log; // need to test with output:true
console.log = function() {};

var runner = new Runner([testsPath], {
seleniumPort: 10195,
seleniumHost: '127.0.0.1',
silent: true,
output: true
}, {
output_folder : false,
start_session : true,
detailed_output : false
}, function(err, results) {
console.log = origConsoleLog;

assert.equal(results.passed, 1);
assert.equal(results.failed, 1);
done();
});

runner.run().catch(function(err) {
done(err);
});
},

testRunWithJUnitOutputAndFailures : function(done) {
var src_folders = [
path.join(__dirname, '../../sampletests/withfailures')
Expand Down

0 comments on commit 44cb289

Please sign in to comment.