faketestingt

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTestingT

type FakeTestingT struct {
	// contains filtered or unexported fields
}

func New

func New() *FakeTestingT

func (*FakeTestingT) FailNow

func (t *FakeTestingT) FailNow()

func (*FakeTestingT) FailedNow

func (t *FakeTestingT) FailedNow() bool

func (*FakeTestingT) GetSubtest

func (t *FakeTestingT) GetSubtest(name string) *SubTest

func (*FakeTestingT) Helper

func (t *FakeTestingT) Helper()

func (*FakeTestingT) HelperCalls

func (t *FakeTestingT) HelperCalls() int

func (*FakeTestingT) LogOutput

func (t *FakeTestingT) LogOutput() []string

func (*FakeTestingT) Logf

func (t *FakeTestingT) Logf(format string, args ...any)

func (*FakeTestingT) Run

func (t *FakeTestingT) Run(name string, fn func(*testing.T)) bool

type SubTest

type SubTest struct {
	// contains filtered or unexported fields
}

func NewSubTest

func NewSubTest(subtest func(*testing.T)) *SubTest

func (*SubTest) Failed

func (s *SubTest) Failed() bool

func (*SubTest) IsParallel

func (s *SubTest) IsParallel() bool

func (*SubTest) Run

func (s *SubTest) Run()

Jump to

Keyboard shortcuts

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