blob: d182c9c242e50732dcebb189f8dcf5e7ebd594e1 [file] [log] [blame]
package sktest
import "context"
// TestingT is an interface which is compatible with testing.T and testing.B,
// used so that we don't have to import the "testing" package except in _test.go
// files.
type TestingT interface {
Cleanup(func())
Context() context.Context
Error(...interface{})
Errorf(string, ...interface{})
Fail()
FailNow()
Failed() bool
Fatal(...interface{})
Fatalf(string, ...interface{})
Helper()
Log(...interface{})
Logf(string, ...interface{})
Name() string
Skip(...interface{})
SkipNow()
Skipf(string, ...interface{})
Skipped() bool
TempDir() string
}