1.2.5 • Published 4 years ago

jest-json-cumulative-reporter v1.2.5

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

jest-json-cumulative-reporter

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

Installation

$ npm install --save-dev jest-json-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-json-cumulative-reporter"],

As you run Jest from within the terminal, a file called report.json will be created within your root folder containing information about your tests.

Configuration

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

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

Tests coming soon.

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago