1.6.1 • Published 4 years ago

jest-html-cumulative-reporter v1.6.1

Weekly downloads
40
License
-
Repository
github
Last release
4 years ago

jest-html-cumulative-reporter

A Jest test results processor for generating a cumulative report in HTML format. The reporter will update existing suite reports, and create new suite reports.

Installation

$ npm install --save-dev jest-html-cumulative-reporter

Usage

Configure Jest to process the test results by adding the following entry to the Jest config (jest.config.json):

"reporters": ["default", "jest-html-cumulative-reporter"],

As you run Jest from within the terminal, the files report.json and report.html will be created within your root folder containing information about your tests. The report.html file is standalone, and can be distributed by itself. The report.json file is used only for data aggregation.

Configuration

Please note that all configuration properties are optional. They can be used with the following syntax:

"reporters": [
	"default",
	["jest-html-cumulative-reporter", {
    "filename": "report",
    "ignore": ["sandbox.spec.js", "/ignoredTests"]
	}]
]
PropertyTypeDescriptionDefault
filenameSTRINGName of the file generated by the report.report
ignoreARRAYA list of filenames or paths to ignore.[]

Tests coming soon.

1.6.1

4 years ago

1.5.3

4 years ago

1.6.0

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago