unittest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoListWithImportPackages

func GoListWithImportPackages(packagePath string) (importPackages []string)

run go list -cover

func GoTestWithCoverAndRace

func GoTestWithCoverAndRace(packagePath string) (packageUnitResult string, err error)

run go test -cover

func PackageAbsPath

func PackageAbsPath(path string) (packagePath string)

func UnitTest

func UnitTest(packagePath string) (packageUnitTestResults []string, packageTestRaceResults []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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