0.2.5 • Published 8 years ago

jasmine-pretty-html-reporter v0.2.5

Weekly downloads
3,287
License
MIT
Repository
github
Last release
8 years ago

jasmine pretty html reporter

Build Status Latest Version NPM Version NPM Monthly Downloads

npm i jasmine-pretty-html-reporter --save-dev

NOTE: jasmine is set as a peer dependency

Check out the samples

https://stuisme.github.io/jasmine-pretty-html-reporter/

Basic Setup

var Jasmine = require('jasmine');
var HtmlReporter = require('jasmine-pretty-html-reporter').Reporter;
var jasmine = new Jasmine();

jasmine.loadConfigFile('./spec/support/jasmine.json');

// options object
jasmine.addReporter(new HtmlReporter({
  path: path.join(__dirname,'results')
}));

jasmine.execute();

Reporter Options

NameTypeDefaultDescription
pathStringpath the report.html will be written to (required)
writeReportEachSpecBooleantruewrites the report.html after each spec completes, this is recommended for long running tests
showSuspectLineBooleantrueshows "suspect line" on overview
highlightSuspectLineBooleantruehighlight the "suspect line" in the dialog
0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.1.3163

8 years ago

0.1.3161

8 years ago

0.1.7

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago