gotestsum

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
gotestsum
Package gotestsum is a slightly modified version of github.com/gotestyourself/gotestsum package that allows integration of the package within another application.
Package gotestsum is a slightly modified version of github.com/gotestyourself/gotestsum package that allows integration of the package within another application.
junitxml
Package junitxml creates a JUnit XML report from a testjson.Execution.
Package junitxml creates a JUnit XML report from a testjson.Execution.
operator
Operator package hosts operators needed to interact with different applications or files
Operator package hosts operators needed to interact with different applications or files
options
Package options stores the necessary data for running that application and implements flag operations
Package options stores the necessary data for running that application and implements flag operations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL