π go test
wrapper for advanced testing workflows in Go
testman -h
USAGE
testman <subcommand> [flags]
SUBCOMMANDS
test advanced go test workflows
list list available tests
testman test -h
USAGE
testman test [flags] [packages]
EXAMPLES
testman test ./...
testman test -v ./...
testman test -run ^TestUnstable -timeout=300s -retry=50 ./...
testman test -run ^TestBroken -test.timeout=30s -retry=10 --continue-on-error ./...
testman test -test.timeout=10s -test.v -test.count=2 -test.race
FLAGS
-continue-on-error false continue on error (but still fails at the end)
-retry 0 fail after N retries
-run ^(Test|Example) regex to filter out tests and examples
-test.count 1 `go test -count=VAL`
-test.race false `go test -race`
-test.timeout 0s `go test -timeout=VAL`
-test.v false `go test -v`
-timeout 0s program max duration
-v false verbose
testman list -h
USAGE
testman list [packages]
EXAMPLES
testman list ./...
testman list -v ./...
testman list -run ^TestStable ./...
FLAGS
-run ^(Test|Example) regex to filter out tests and examples
-v false verbose
$ go get -u github.com/comnoco/testman/v2
See https://github.com/comnoco/testman/releases
I really welcome contributions. Your input is the most precious material. I'm well aware of that and I thank you in advance. Everyone is encouraged to look at what they can do on their own scale; no effort is too small.
Everything on contribution is sum up here: CONTRIBUTING.md
Thanks goes to these wonderful people (emoji key):
Manfred Touron π§ π |
moul-bot π§ |
This project follows the all-contributors specification. Contributions of any kind welcome!
Β© 2020-2021 Manfred Touron
Licensed under the Apache License, Version 2.0 (LICENSE-APACHE
) or the MIT license (LICENSE-MIT
), at your option. See the COPYRIGHT
file for more details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)