Heroku's CI TAP

Heroku mentions TAP support for running tests within their CI environment.

If the executed test scripts emit TAP-formatted output to STDOUT, individual passes and failures are counted and displayed in the test run’s UI.

Heroku indicates that the individual tests are displayed on the UI if the output is TAP compliant.

They don’t mention what this UI looks like, or how to know if the output is correctly being accepted as valid TAP output to get the enhanced UI.

I’ve taken some screen grabs of the before and after to save you some commits.

Without TAP

A failing test suite without TAP formatted output

With TAP

A failing test suite with TAP formatted output

If your failure output looks like the second image on Heroku, your test output is TAP compliant.


A programming blog exploring the code, tools, and techniques behind high quality software.

© 2020 Muyiwa Olu ·