Skip to content

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

Notifications You must be signed in to change notification settings

antony/jest-multi-test-result-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

Add a section in your package.json as follows:

  "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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published