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

Function TestSuiteGetters

suite/suite_test.go:410–417  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

408}
409
410func TestSuiteGetters(t *testing.T) {
411 suite := new(SuiteTester)
412 suite.SetT(t)
413 assert.NotNil(t, suite.Assert())
414 assert.Equal(t, suite.Assertions, suite.Assert())
415 assert.NotNil(t, suite.Require())
416 assert.Equal(t, suite.require, suite.Require())
417}
418
419type SuiteLoggingTester struct {
420 Suite

Callers

nothing calls this directly

Calls 5

NotNilFunction · 0.92
EqualFunction · 0.92
RequireMethod · 0.80
SetTMethod · 0.65
AssertMethod · 0.45

Tested by

no test coverage detected