Documentation
¶
Overview ¶
Package ci provides exported tests that can be imported and consumed by walletdb driver tests to help ensure that drivers confirm to the database driver interface correctly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)
Functions ¶
func TestInterface ¶
TestInterface performs all interfaces tests for this database driver.
Types ¶
type Tester ¶
type Tester interface {
Error(...interface{})
Errorf(string, ...interface{})
Fail()
FailNow()
Failed() bool
Fatal(...interface{})
Fatalf(string, ...interface{})
Log(...interface{})
Logf(string, ...interface{})
Parallel()
Skip(...interface{})
SkipNow()
Skipf(string, ...interface{})
Skipped() bool
}
Tester is an interface type that can be implemented by *testing.T. This allows drivers to call into the non-test API using their own test contexts.
Click to show internal directories.
Click to hide internal directories.