Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dex4er/go-tap

Run Go tests with TAP - Test Anything Protocol
https://github.com/dex4er/go-tap

Last synced: 10 days ago
JSON representation

Run Go tests with TAP - Test Anything Protocol

Awesome Lists containing this project

README

        

# Run Go tests with TAP

## Install

```sh
go get github.com/dex4er/go-tap
```

## Create test

### t/simple/simple.go

```go
package main

import "github.com/dex4er/go-tap"

func main() {
tap.Ok(true, "Ok")
tap.Is("Aaa", "Aaa", "Is")
tap.Is(123, 123, "Is")
tap.DoneTesting()
}
```

## Run

```sh
prove --ext=go --exec='go run' -r t
```