An open API service indexing awesome lists of open source software.

https://github.com/antony/jest-multi-test-result-processor

Allow the composition of test-result-processors in Jest so that you can produce multiple reports in a single test run
https://github.com/antony/jest-multi-test-result-processor

ci composition jest jest-plugin jest-reporter jest-result-processor reporting tdd test-reporting testing

Last synced: about 1 month ago
JSON representation

Allow the composition of test-result-processors in Jest so that you can produce multiple reports in a single test run

Awesome Lists containing this project

README

          

## Jest Multi 'testResultProcessor'

Allows jest to compose the 'testResultProcessor' so that it can output to multiple test result processors / test reporters.

### Usage

Install the module, and any reporters/processors you want to use:

```bash
npm install --save-dev jest-multi-test-result-processor
npm install --save-dev jest-junit
...
```

Add a section in your `package.json` as follows:

```json
"jest-multi-test-result-processor": {
"processors": [
"jest-junit",
"html-jest-reporter"
]
}
```

Jest will run through each of the processors in turn, and pass each of them the results of `jest test`