Versions in this module Expand all Collapse all v3 v3.0.5 Jun 28, 2022 Changes in this version + const TestDBPrefix + var AllDocsIndex = kivik.Index + func Body(str string, args ...interface{}) io.ReadCloser + func DSN(t *testing.T) string + func GetClient(t *testing.T) *kivik.Client + func GetNoAuthClient(t *testing.T) *kivik.Client + func NoAuthDSN(t *testing.T) string + func Register(name string, fn testFunc) + func Retry(fn func() error) error + func RunSubtests(ctx *Context) + func TestDBName(t *testing.T) string + type Context struct + Admin *kivik.Client + Config SuiteConfig + NoAuth *kivik.Client + RW bool + T *testing.T + func (c *Context) Bool(key string) bool + func (c *Context) CheckError(err error) (match bool, success bool) + func (c *Context) Child(t *testing.T) *Context + func (c *Context) DestroyDB(name string) + func (c *Context) Errorf(format string, args ...interface{}) + func (c *Context) Fatalf(format string, args ...interface{}) + func (c *Context) Int(key string) int + func (c *Context) IntSlice(key string) []int + func (c *Context) Interface(key string) interface{} + func (c *Context) IsExpected(err error) bool + func (c *Context) IsExpectedSuccess(err error) bool + func (c *Context) IsSet(key string) bool + func (c *Context) IsSuccess(err error) bool + func (c *Context) Logf(format string, args ...interface{}) + func (c *Context) MustBeSet(key string) + func (c *Context) MustBool(key string) bool + func (c *Context) MustInt(key string) int + func (c *Context) MustIntSlice(key string) []int + func (c *Context) MustInterface(key string) interface{} + func (c *Context) MustString(key string) string + func (c *Context) MustStringSlice(key string) []string + func (c *Context) Options(key string) map[string]interface{} + func (c *Context) Parallel() + func (c *Context) Run(name string, fn testFunc) + func (c *Context) RunAdmin(fn testFunc) + func (c *Context) RunNoAuth(fn testFunc) + func (c *Context) RunRO(fn testFunc) + func (c *Context) RunRW(fn testFunc) + func (c *Context) Skip() + func (c *Context) Skipf(format string, args ...interface{}) + func (c *Context) String(key string) string + func (c *Context) StringSlice(key string) []string + func (c *Context) TestDB() string + func (c *Context) TestDBName() string + type SuiteConfig map[string]interface + func (c SuiteConfig) Bool(t *testing.T, key string) bool + func (c SuiteConfig) Int(t *testing.T, key string) int + func (c SuiteConfig) Interface(t *testing.T, key string) interface{} + func (c SuiteConfig) Skip(t *testing.T) + func (c SuiteConfig) String(t *testing.T, key string) string + func (c SuiteConfig) StringSlice(t *testing.T, key string) []string