Permalink
Browse files

Output verbose log

  • Loading branch information...
1 parent cff9660 commit ab068abf962b3dad36fab6b58b8423023372e891 @sideroad committed Dec 16, 2012
Showing with 16 additions and 12 deletions.
  1. +3 −3 package.json
  2. +5 −1 tasks/testem.js
  3. +8 −8 tests.tap
View
@@ -1,7 +1,7 @@
{
"name": "grunt-testem",
"description": "A grunt plugin for testem.",
- "version": "0.2.5",
+ "version": "0.2.9",
"homepage": "https://github.com/sideroad/grunt-testem",
"author": "sideroad <sideroad.jp@gmail.com> (http://sideroad.secret.jp/)",
"repository": {
@@ -35,13 +35,13 @@
"grunt": "~0.3.8",
"async" : "~0.1.22",
"underscore" : "~1.4.2",
- "testem-multi" : "~0.0.8"
+ "testem-multi" : "~0.1.0"
},
"devDependencies": {
"grunt": "~0.3.8",
"async" : "~0.1.22",
"underscore" : "~1.4.2",
- "testem-multi" : "~0.0.8"
+ "testem-multi" : "~0.1.0"
},
"keywords": [
"gruntplugin","grunt","grunt","testem"
View
@@ -31,7 +31,11 @@ module.exports = function(grunt) {
data.files = grunt.file.expandFiles(data.files);
grunt.log.writeln('Now testing...');
- testemMulti.exec(data, function( results, memo ){
+ testemMulti.exec(data);
+ testemMulti.on('data', function( data ){
+ grunt.verbose.ok(''+data);
+ });
+ testemMulti.on('exit', function( results, memo ){
var tests = memo.tests,
pass = memo.pass,
not = memo.not,
View
@@ -2,42 +2,42 @@ TAP version 13
ok 1 - examples/1.html - Firefox test module: hello test
not ok 2 - examples/1.html - Firefox test module: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 3 - examples/1.html - Firefox test module2: hello test
not ok 4 - examples/1.html - Firefox test module2: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 5 - examples/1.html - Safari test module: hello test
not ok 6 - examples/1.html - Safari test module: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 7 - examples/1.html - Safari test module2: hello test
not ok 8 - examples/1.html - Safari test module2: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 9 - examples/2.html - Firefox test module: hello test
not ok 10 - examples/2.html - Firefox test module: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 11 - examples/2.html - Firefox test module2: hello test
not ok 12 - examples/2.html - Firefox test module2: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 13 - examples/2.html - Safari test module: hello test
not ok 14 - examples/2.html - Safari test module: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
ok 15 - examples/2.html - Safari test module2: hello test
not ok 16 - examples/2.html - Safari test module2: fail test
---
- message: Will failed!
+ message: "Will failed!"
...
1..16

0 comments on commit ab068ab

Please sign in to comment.