# jasmine-pretty-html-reporter

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

Latest version **0.2.5** (published 2017-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install jasmine-pretty-html-reporter
pnpm add jasmine-pretty-html-reporter
yarn add jasmine-pretty-html-reporter
bun add jasmine-pretty-html-reporter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2017-03-13 |
| First published | 2017-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | stuisme |
| Maintainers | stuisme |
| Keywords | jasmine, pretty, html, reporter |

## Links

- npm: https://www.npmjs.com/package/jasmine-pretty-html-reporter
- Repository: https://github.com/stuisme/jasmine-pretty-html-reporter
- Homepage: https://github.com/stuisme/jasmine-pretty-html-reporter#readme
- Issues: https://github.com/stuisme/jasmine-pretty-html-reporter/issues
- npm.io page: https://npm.io/package/jasmine-pretty-html-reporter

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.2.5 (latest) — 2017-03-13
- 0.2.4 — 2017-03-12
- 0.2.3 — 2017-03-09
- 0.2.2 — 2017-03-05
- 0.2.1 — 2017-03-04
- 0.1.3163 — 2017-03-04
- 0.1.3161 — 2017-03-04
- 0.1.7 — 2017-02-24
- 0.0.3 — 2017-02-24
- 0.0.2 — 2017-02-21
- 0.0.1 — 2017-02-15

## README

# jasmine pretty html reporter 
[![Build Status](https://travis-ci.org/stuisme/jasmine-pretty-html-reporter.svg?branch=master)](https://travis-ci.org/stuisme/jasmine-pretty-html-reporter)
[![Latest Version](https://img.shields.io/github/tag/stuisme/jasmine-pretty-html-reporter.svg)](https://github.com/stuisme/jasmine-pretty-html-reporter)
[![NPM Version](https://img.shields.io/npm/v/jasmine-pretty-html-reporter.svg)](https://npmjs.org/package/jasmine-pretty-html-reporter)
[![NPM Monthly Downloads](https://img.shields.io/npm/dm/jasmine-pretty-html-reporter.svg)](https://npmjs.org/package/jasmine-pretty-html-reporter)

```
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
| Name                  | Type    | Default | Description                                            |
| --------------------- | ------- | ------- | ------------------------------------------------------ |
| path                  | String  |         | path the report.html will be written to (required)     |
| writeReportEachSpec   | Boolean | true    | writes the report.html after each spec completes, this is recommended for long running tests |
| showSuspectLine       | Boolean | true    | shows "suspect line" on overview                       |
| highlightSuspectLine  | Boolean | true    | highlight the "suspect line" in the dialog             |

---
_Source: https://npm.io/package/jasmine-pretty-html-reporter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
