Skip to content
forked from moul/testman

😎 `go test` wrapper for advanced testing workflows in Go

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

comnoco/testman

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

testman

😎 go test wrapper for advanced testing workflows in Go

go.dev reference License GitHub release Docker Metrics Made by Manfred Touron

Go Release PR GolangCI codecov Go Report Card CodeFactor

Usage

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

Install

Using go

$ go get -u github.com/comnoco/testman/v2

Releases

See https://github.com/comnoco/testman/releases

Contribute

Contribute <3

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

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):


Manfred Touron

🚧 πŸ“– ⚠️ πŸ’»

moul-bot

🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

Stargazers over time

Stargazers over time

License

Β© 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)

About

😎 `go test` wrapper for advanced testing workflows in Go

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 82.9%
  • Shell 6.9%
  • Dockerfile 6.8%
  • Makefile 2.3%
  • JavaScript 1.1%