https://github.com/mjs/gochecker
A frontend for `go test` and gocheck
https://github.com/mjs/gochecker
Last synced: 3 months ago
JSON representation
A frontend for `go test` and gocheck
- Host: GitHub
- URL: https://github.com/mjs/gochecker
- Owner: mjs
- Created: 2016-04-12T23:48:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-22T01:16:06.000Z (over 8 years ago)
- Last Synced: 2025-03-07T13:02:08.864Z (4 months ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
usage: gochecker [-h] [-v] [-l] [-r] [targets [targets ...]]
A frontend for `go test` and gocheck.
positional arguments:
targets Directory, package, suite and/or test to run. By default, all
tests will be run recursively from the current directory.optional arguments:
-h, --help show this help message and exit
-v, --verbose Verbose test output (use twice for extra effect)
-l, --logs Show log output when tests fail
-r, --race Enable race detectorSome examples of how gochecker converts its args to `go test` command lines:
gochecker : go test ./...
gochecker -v ... : go test -v ./... -gocheck.v
gochecker -v foo : go test -v ./foo -gocheck.v
gochecker -v foo/... : go test -v ./foo/... -gocheck.v
gochecker -vv foo : go test -v ./foo -gocheck.vv
gochecker foo:SomeSuite : go test ./foo -gocheck.f SomeSuite
gochecker foo:SomeSuite.TestThing : go test ./foo -gocheck.f SomeSuite.TestThing
gochecker --race foo : go test -r ./fooTesting across multiple packages is also supported. For example:
gochecker foo bar:SomeSuite some/other/package
All output is recorded to a gochecker-*.out files. The last 3 output
files are kept.By default, logger output to the console is suppressed, but will be
available in the output files. To see logger output at the console
pass --logs or -l.