Skip to content

Commit 6c6d974

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 add37b0 commit 6c6d974

File tree

2 files changed

+745
-2
lines changed

2 files changed

+745
-2
lines changed

index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ TODO review needed
4545

4646
- [TAP specification](/tap-specification.html)
4747
- [TAP version 13 specification](/tap-version-13-specification.html)
48+
- [TAP version 14 specification](/tap-version-14-specification.html)
4849

4950
## External Resources
5051

51-
- [Wikipedia article on TAP](http://en.wikipedia.org/wiki/Test_Anything_Protocol)
52-
- [The TAP subreddit](http://www.reddit.com/r/testanythingprotocol)
52+
- [Wikipedia article on TAP](http://en.wikipedia.org/wiki/Test_Anything_Protocol)
53+
- [The TAP subreddit](http://www.reddit.com/r/testanythingprotocol)
54+
- [The TAP GitHub Group](https://github.com/TestAnything)
5355

5456
{% comment %}
5557
TODO review needed

0 commit comments

Comments
 (0)