gitlab.com/evatix-go/core@v1.3.55/coretests/ShouldAsserter.go (about) 1 package coretests 2 3 import ( 4 "testing" 5 6 "github.com/smartystreets/goconvey/convey" 7 ) 8 9 type ShouldAsserter interface { 10 ShouldBe( 11 caseIndex int, 12 t *testing.T, 13 assert convey.Assertion, 14 actual interface{}, 15 ) 16 ShouldBeExplicit( 17 isValidateType bool, 18 caseIndex int, 19 t *testing.T, 20 title string, 21 actual interface{}, 22 assert convey.Assertion, 23 expected interface{}, 24 ) 25 }