test

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2015 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(flags []string, pkgs ...*gb.Package) error

Test returns a Target representing the result of compiling the package pkg, and its dependencies, and linking it with the test runner.

func TestPackage

func TestPackage(targets map[string]*gb.Action, pkg *gb.Package, flags []string) (*gb.Action, error)

TestPackage returns an Action representing the steps required to build and test this Package.

func TestPackages

func TestPackages(flags []string, pkgs ...*gb.Package) (*gb.Action, error)

TestPackages produces a graph of Actions that when executed build and test the supplied packages.

func TestResolver

func TestResolver(r gb.Resolver) gb.Resolver

TestResolver returns a gb.Resolver that resolves packages, their dependencies including any internal or external test dependencies.

Types

type CoverVar

type CoverVar struct {
	File string // local file name
	Var  string // name of count struct
}

CoverVar holds the name of the generated coverage variables targeting the named file.

Jump to

Keyboard shortcuts

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