Teamcity Reporter for Jest Unittest Results
Latest commit d12e238 Jan 2, 2017 @winterbe Version 0.3.0
Failed to load latest commit information.
docs initial commit Sep 7, 2016
.gitignore initial commit Sep 7, 2016
LICENSE initial commit Sep 7, 2016 Update readme for jest 18 Dec 15, 2016
index.js Support Jest 18 Dec 15, 2016
package.json Version 0.3.0 Jan 2, 2017


Integrate Jest test results into your Teamcity CI builds





This package will report your JavaScript Jest test results to your Teamcity CI server, so you can see the number of executed tests, test failures and the tests tab right from your Teamcity UI.

Follow on Twitter for Updates


First, install the package from NPM: npm install --save-dev jest-teamcity-reporter

The reporter integrates with Jest in form of a testResultsProcessor. Put this into your projects package.json:

"jest": {
    "testResultsProcessor": "jest-teamcity-reporter"

Since you only want the reporter to work on your Teamcity server and not locally, pass the following option when running Jest from Teamcity:

jest --teamcity

E.g. you can add those scripts to your projects package.json:

"scripts": {
    "test": "jest",
    "test:teamcity": "jest --teamcity"

Then, in Teamcity create a new Command Line Build Step and run the following command:

npm run test:teamcity

Use the command npm test on your local machine and Teamcity reporting will be skipped.


MIT © Benjamin Winterberg