Skip to content

Commit cc9b7dc

Browse files
committed
TAP version 14 - First Draft
This is a first draft at a specification that seeks to ratify existing behavior of TAP harnesses and producers. - YAML blocks standardized to 2 space indentation - Subtests specified to behavior of `Test::More` and `node-tap`. - Normative advice regarding exit code for harness programs - Examples and usage comments made language-agnostic. - Clarification of whitespace and hyphens in test lines. - Clarification of handling of incorrect lines. - Specification of Pragma lines It'd be very helpful for implementors to point to a body of language-agnostic tests for compliant parsers. I've got a pretty nice start at this over at <https://github.com/substack/tap-parser/tree/master/test/fixtures>, but we may want to bikeshed the event/property names a bit, and ideally I'd like to get at least one other implementation passing those tests before we sign off on them. Note that this does not go as far as a lot of people would probably like to see in a forward-looking TAP specification. No fancy new magic is added. However, before we start talking about brand new features, it seems wise to ratify the features we are already using. With this change, node-tap and Test::More should be able to simply change their version number from 13 to 14 in order to be fully compliant. Feedback from other TAP producers and harnesses is necessary before adopting this officially.
1 parent 0f5a9b7 commit cc9b7dc

File tree

2 files changed

+745
-2
lines changed

2 files changed

+745
-2
lines changed

index.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ TODO review needed
4949

5050
- [TAP specification](/tap-specification.html)
5151
- [TAP version 13 specification](/tap-version-13-specification.html)
52+
- [TAP version 14 specification](/tap-version-14-specification.html)
5253

5354
## External Resources
5455

55-
- [Wikipedia article on TAP](http://en.wikipedia.org/wiki/Test_Anything_Protocol)
56-
- [The TAP subreddit](http://www.reddit.com/r/testanythingprotocol)
56+
- [Wikipedia article on TAP](http://en.wikipedia.org/wiki/Test_Anything_Protocol)
57+
- [The TAP subreddit](http://www.reddit.com/r/testanythingprotocol)
58+
- [The TAP GitHub Group](https://github.com/TestAnything)
5759

5860
{% comment %}
5961
TODO review needed

0 commit comments

Comments
 (0)