Suite is a basic testing suite with methods for storing and retrieving the current *testing.T context.
| 21 | // Suite is a basic testing suite with methods for storing and |
| 22 | // retrieving the current *testing.T context. |
| 23 | type 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. |
| 35 | func (suite *Suite) T() *testing.T { |
nothing calls this directly
no outgoing calls
no test coverage detected