gotestsum
runs tests, prints friendly test output and a summary of the test run. Requires Go 1.10+.
For the original documentation see : gotestsum docs
This is a modified version of the original gotestsum who's purpose is to manage github issues related to failing tests. It acts like a wrapper over the original gotestsum and it extends the functionality by enabling to open and close github issues relating to failing tests.
In order to interact with github go-github library is used. A personal API token must be given in order to interact with github repositories. Example :
gotestsum
--post
--token="your token here"
--owner="astralkn"
--repo="gotestsum"
GitHub flags:
post
- create and close issues based on the tests results.token
- requires personal API token in order to create and modify github issues.owner
- github repository owner.repo
- github repository.