An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# TAP-to-jUnit converter

![Build Status](https://github.com/filmil/tap2junit/workflows/Build/badge.svg) | ![Build Status](https://github.com/filmil/tap2junit/workflows/Test/badge.svg)

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.