Skip to content

astralkn/gotestsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aab0960 · Apr 2, 2020

History

10 Commits
Mar 30, 2020
Mar 11, 2020
Mar 11, 2020
Mar 11, 2020
Mar 11, 2020
Mar 11, 2020
Apr 2, 2020
Mar 30, 2020

Repository files navigation

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.