1.6.0 • Published 8 years ago

protractor-html-hierarchical-reporter v1.6.0

Weekly downloads
6
License
ISC
Repository
github
Last release
8 years ago

protractor-html-hierarchical-reporter

HTML reporter for Jasmine2 and Protractor that will include screenshots of each test if you want and display suits hierarchically.

Usage

The protractor-html-hierarchical-reporter is available via npm:

$ npm install protractor-html-hierarchical-reporter --save-dev

In your Protractor configuration file, register protractor-html-hierarchical-reporter in jasmine:

Options

Destination folder

Output directory for created files. All screenshots and reports will be stored here.

If the directory doesn't exist, it will be created automatically or otherwise cleaned before running the test suite.

Default folder: ./

Screenshots folder (optional)

By default the screenshots are stored in a folder inside the default path

If the directory doesn't exist, it will be created automatically or otherwise cleaned before running the test suite.

Default folder: screenshots

Take screenshots (optional)

When this option is enabled, reporter will create screenshots for specs.

Default is true

Take screenshots only on failure (optional) - (NEW)

This option allows you to choose if create screenshots always or only when failures. If you disable screenshots, obviously this option will not be taken into account.

Default is false (So screenshots are always generated)

FilePrefix (optional)

Filename for html report.

Default is htmlReport.html