Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.19 KB

gotestsum [original]

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 GoDoc

gotestsum [modified]

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.

GitHub Integration

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.