https://github.com/filmil/tap2junit
A converter that transforms the TAP test format into jUnit XML; written in go
https://github.com/filmil/tap2junit
Last synced: 18 days ago
JSON representation
A converter that transforms the TAP test format into jUnit XML; written in go
- Host: GitHub
- URL: https://github.com/filmil/tap2junit
- Owner: filmil
- License: mit
- Created: 2019-02-19T01:29:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T03:14:47.000Z (about 2 months ago)
- Last Synced: 2025-03-25T08:51:20.393Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 115 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TAP-to-jUnit converter
 | 
This is a go implementation of a converter from the TAP test format (from
www.testanything.org) to the jUnit format.Example:
```console
$ tap2junit -test_name="my_test" <
2 That test # comment 2
# TAP2JUNIT: Duration: 10s
$
```As both formats are somewhat loosely specified, the conversion is somewhat
of an interpretative dance. We use a comprehensive test suite to guard the
functionality.# Installation
```
go get github.com/filmil/tap2junit
go install -v github.com/filmil/tap2junit/...@latest
```# Testing
```
go test github.com/filmil/tap2junit/...
```# Features
- Support for Version 12 of the TAP specification.
- Support for a custom extension to measure and report test duration.