Skip to content

golang parser for TAP (Test Anything Protocol) v13 output

License

Notifications You must be signed in to change notification settings

mpontillo/tap13

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap13

GoDoc

This pacakge implements a parser for the Test Anything Protocol (TAP) version 13 specification.

The full protocol specification can be found at the following URL:

https://testanything.org/tap-version-13-specification.html

This package is intended to allow the results of a TAP test run to be converted to a more useful format for storage and analysis.

Usage as a Library

Given a []string containing TAP v13 output, users can call the Parse() method to return a Results struct. A Stringer interface is implemented on the Results object in order to provide a summary of the test run.

Usage as a command-line tool

A tap13 command-line tool is provided. It will read the contents of each file (assumed to contain TAP version 13 results) specified as an argument, and output a summary of the test results.

This tool is primarily intended for testing the library itself; users of this library should consume the Results and Test structs.

Bugs

Bugs are tracked on the GitHub issues page.

Contributing

Pull requests are welcome! Any additional code must be backward compatible, and covered appropriately by test cases.

About

golang parser for TAP (Test Anything Protocol) v13 output

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published