tapview is a minimalist pure consumer for TAP (Test Anything Protocol). It is fully compliant with TAP version 14, including the "bail" and "struct" pragmas. It requires only a POSIX-compliant shell and has bo external program dependencies
It’s intended for projects that aleady have one or more TAP producers built into their code and want a viewer that is small, lightweight, portable, has no pesky dependencies, and can easily be embedded in a project distribution.
tapview has a line-by-line parser, so it adds as little latency to your test-viewing pipeline as possible.
Also included is tapdiffer, a tap producer that digests differences between standard input and a specified checkfile to produce a TAP report that can be fed to tapview.
Permission is specifically granted for this code to be redistributed under the prevailing license of your project, provided that license is OSD-compliant. Otherwise MIT-0 applies.
To use this viewer, wite your tests to produce a report in TAP format. Then just pipe the output to tapview. If you want a simple usage example to look at, see the test Makefile in the tapview project.
That example will also show you how to use the auxiliary tapdiffer script.
If you find this code useful, please support me on Patreon.