Versions in this module Expand all Collapse all v0 v0.9.0 May 4, 2024 Changes in this version + func RunTest(t *testing.T, fnc Func, opts *Options) + func RunTestLocal(t *testing.T, open kv.OpenPathFunc, opts *Options) + type Func func(t testing.TB) kv.KV + type Options struct + NoLocks bool + NoTx bool + type Test struct + func NewTest(t testing.TB, db kv.KV) *Test + func (t Test) Del(key kv.Key) + func (t Test) Expect(k kv.Key, exp kv.Value) + func (t Test) ExpectIt(it kv.Iterator, exp []kv.Pair) + func (t Test) Get(key kv.Key) (kv.Value, error) + func (t Test) NotExists(k kv.Key) + func (t Test) Put(key kv.Key, val kv.Value) + func (t Test) Scan(exp []kv.Pair, opts ...kv.IteratorOption) + func (t Test) ScanReset(exp []kv.Pair, opts ...kv.IteratorOption)