Socket
Socket
Sign inDemoInstall

jasmine-pretty-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jasmine-pretty-html-reporter

an easy to use html page for looking at jasmine test results


Version published
Weekly downloads
1K
decreased by-16.49%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 13 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc