Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

TAP

< >

TAP, aka Test Anything Protocol, is an open source protocol created in 1988.

#812on PLDB 36Years Old
Download source code:
git clone https://github.com/TestAnything/test-anything-protocol
Homepage · Source Code · Wikipedia · Subreddit

The Test Anything Protocol (TAP) is a protocol to allow communication between unit tests and a test harness. It allows individual tests (TAP producers) to communicate test results to the testing harness in a language-agnostic way. Originally developed for unit testing of the Perl interpreter in 1987, producers and parsers are now available for many development platforms.. Read more on Wikipedia...


Example from Wikipedia:
1..4 ok 1 - Input file opened not ok 2 - First line of the input valid. More output from test 2. There can be arbitrary number of lines for any output so long as there is at least some kind of whitespace at beginning of line. ok 3 - Read the rest of the file #TAP meta information not ok 4 - Summarized correctly # TODO: not written yet

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0