Writing a Jest Test Reporter

Colin Wren
JavaScript in Plain English
4 min readMar 16, 2019

--

Recently at work I’ve been building a means to upload the test run data for our end to end tests into Jira via Zephyr.

Normally the approach to integrating test run results is to export them as JUnit compatible documents and upload them into a tool that supports that format.

Zephyr has an API and one of the other teams had built a library for interacting with it, so I decided to utilise this to upload the results at the end of the test runs.

One of the benefits of using Zephyr like this is that I can get the environment variables…

--

--

Currently building reciprocal.dev. Interested in building shared understanding, Automated Testing, Dev practises, Metal, Chiptune. All views my own.