This Project brings an jest-reporter for getting an allure-Report from the jest test results.
A Jest Allure Reporter, which takes the test-results from jest and creates an allure-report from it.
Jest is a javascript testing framework, for testing javascript code, including ui-tests.
Allure is a tool for creating an helpfull report of testresults.
The jest-allure-reporter connects the jest-tests with the allure-report as both tools doesn't support each other directly. The jest-allure-reporter takes the test-results from jest and creates an allure-report automatically.
Installation is relatively simple. In your jest-project add the following to the dependencies section of the package.json:
"dependencies": {
"jest-allure-reporter": "^1.2.1"
}
Additionally configure the jest-allure-reporter as the test-reporter used by jest by adding the following to your jest.config.ts:
testResultsProcessor: "jest-allure-reporter"
After editing of the two files install by running npm update
on the commandline:
npm update