juliemr / minijasminenode

A very bare-bones version of jasmine-node
MIT License
32 stars 21 forks source link

Additional reporter doesn't works #26

Open janbaer opened 9 years ago

janbaer commented 9 years ago

Hello Julie, I

I'm trying to add the jasmine-growl-reporter from here, but it doesn't works. The reporter should be compatible to Jasmine 2.0 Have I made something wrong? I enabled also the verbose output, but I don't see any errors.

var miniJasmineLib = require('minijasminenode');
var growlReporter = require('jasmine-growl-reporter');

miniJasmineLib.addReporter(growlReporter);

var options = {
  specs: ['./spec/calculator.spec.js'],
  onComplete: function (passed) {
    console.log('I\'m done with the tests...');
  },
  showColors: true,
  isVerbose: true
};

miniJasmineLib.executeSpecs(options);
janbaer commented 9 years ago

I tried to show a message with growl directly and this has worked.

var miniJasmineLib = require('minijasminenode');
var growl = require('growl');

var options = {
  specs: ['./spec/calculator.spec.js'],
  onComplete: function (passed) {
    growl('I\'m done with the tests...', { title: 'Jasmine Tests'});
    console.log('I\'m done with the tests...');
  },
  showColors: true,
  isVerbose: true
};

miniJasmineLib.executeSpecs(options);

But of course I would like to see some more messages with growl.