Versions in this module Expand all Collapse all v1 v1.3.1 Feb 6, 2019 Changes in this version + const Timeout + var DryRun = flag.Bool("test.dryrun", false, "don't run, just print test names") + var IsMain = flag.Bool("test.main", false, "runs main() instead of test(s)") + var MustPause = flag.Bool("test.pause", false, "pause before and after suite") + var VV = flag.Bool("test.vv", false, "log test.Program output") + var VVV = flag.Bool("test.vvv", false, "log test.Program execution") + func Carrier(netns, ifname string) error + func NoAdjacency(t *testing.T) (err error) + func Pause(args ...interface{}) + func PauseQuit(t *testing.T) + func Ping(netns, addr string) error + type Assert struct + func (assert Assert) Background(options ...interface{}) *Program + func (assert Assert) Comment(args ...interface{}) + func (assert Assert) Commentf(format string, args ...interface{}) + func (assert Assert) Dir(name string) + func (assert Assert) Equal(s, expect string) + func (assert Assert) Error(err error, v interface{}) + func (assert Assert) False(t bool) + func (assert Assert) Main(main func()) + func (assert Assert) Match(s, pattern string) + func (assert Assert) MatchNonFatal(s, pattern string) bool + func (assert Assert) Nil(err error) + func (assert Assert) NoListener(atsockname string) + func (assert Assert) NonNil(err error) + func (assert Assert) Program(options ...interface{}) + func (assert Assert) ProgramErr(v interface{}, options ...interface{}) + func (assert Assert) True(t bool) + func (assert Assert) YoureRoot() + type Cleanup struct + func (cleanup Cleanup) Program(options ...interface{}) + type Program struct + func Begin(tb testing.TB, options ...interface{}) (*Program, error) + func (p *Program) End() (err error) + func (p *Program) Pid() int + func (p *Program) Quit() + type Quiet struct + type Self struct + type Suite struct + Exit func(*testing.T) + Init func(*testing.T) + Name string + func (suite *Suite) Comment(t *testing.T, args ...interface{}) + func (suite *Suite) Commentf(t *testing.T, format string, args ...interface{}) + func (suite *Suite) String() string + func (suite Suite) Test(t *testing.T) + type Tester interface + String func() string + Test func(*testing.T) + type Tests []Tester + func (tests Tests) Test(t *testing.T) + type Unit struct + Func func(*testing.T) + Name string + func (u *Unit) String() string + func (u *Unit) Test(t *testing.T)