Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dex4er/go-tap
- Owner: dex4er
- Created: 2015-06-18T18:37:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-18T18:46:53.000Z (over 9 years ago)
- Last Synced: 2024-10-28T09:02:03.669Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 mainimport "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
```