tap4j is an implementation of the TAP - Test Anything Protocol - for Java. TAP is a standard way to document test execution. There are two main roles in TAP, a producer and a consumer.

The TAP Producer is responsible for producing a TAP Stream. Usually the TAP Stream is written to a file. The following is an example of a TAP Stream.

ok 1 - Input file opened
not ok 2
ok 3 - Read the rest of the file
# Yeah, you can comment your TAP Stream
not ok 4 - Summarized correctly # TODO Not written yet

Test your TAP with InstantTAP.

The TAP Consumer read and parses a TAP Stream. The user of the TAP Consumer can then utilize its data to build graphs, integrate systems, log tests executions or produce cool test reports.

tap4j producer and consumer