Comparing version 0.5.0 to 0.5.1
@@ -131,2 +131,3 @@ var fs = require('fs'), | ||
!opts.log && (opts.log = {}); | ||
opts.deps = absPaths(opts.deps); | ||
@@ -133,0 +134,0 @@ opts.code = absPath(opts.code); |
{ | ||
"name": "qunit", | ||
"description": "A port of QUnit unit testing framework to nodejs", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"author": "Oleg Slobodskoi <oleg008@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -107,20 +107,32 @@ ## This is a port of QUnit unit testing framework to nodejs | ||
{ | ||
// logging options | ||
log: { | ||
// log assertions overview | ||
assertions: true, | ||
// log assertions overview | ||
assertions: true, | ||
// log expected and actual values for failed tests | ||
errors: true, | ||
// log expected and actual values for failed tests | ||
errors: true, | ||
// log tests overview | ||
tests: true, | ||
// log tests overview | ||
tests: true, | ||
// log summary | ||
summary: true, | ||
// log summary | ||
summary: true, | ||
// log global summary (all files) | ||
globalSummary: true, | ||
// log global summary (all files) | ||
globalSummary: true, | ||
// log currently testing code file | ||
testing: true | ||
// log currently testing code file | ||
testing: true | ||
}, | ||
// run test coverage tool | ||
coverage: false, | ||
// define dependencies, which are required then before code | ||
deps: null, | ||
// define namespace your code will be attached to on global['your namespace'] | ||
namespace: null | ||
} | ||
@@ -127,0 +139,0 @@ |
@@ -11,10 +11,5 @@ var a = require('assert'), | ||
_.extend(tr.options.log, { | ||
assertions: false, | ||
tests: false, | ||
summary: false, | ||
globalSummary: false, | ||
errors: false, | ||
assertions: false | ||
}); | ||
tr.options.log = { | ||
testing: true | ||
}; | ||
@@ -21,0 +16,0 @@ // reset log stats every time .next is called |
194194
291
4501