MCPcopy
hub / github.com/stretchr/testify / Suite

Struct Suite

suite/suite.go:23–32  ·  view source on GitHub ↗

Suite is a basic testing suite with methods for storing and retrieving the current *testing.T context.

Source from the content-addressed store, hash-verified

21// Suite is a basic testing suite with methods for storing and
22// retrieving the current *testing.T context.
23type Suite struct {
24 *assert.Assertions
25
26 mu sync.RWMutex
27 require *require.Assertions
28 t *testing.T
29
30 // Parent suite to have access to the implemented methods of parent struct
31 s TestingSuite
32}
33
34// T retrieves the current *testing.T context.
35func (suite *Suite) T() *testing.T {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected