Documentation ¶
Overview ¶
Package badgerauthtest is roughly inspired by the design of the storj/satellite/metabase/metabasetest package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶ added in v1.88.1
func Run(t *testing.T, parallel bool, config badgerauth.Config, fn func(ctx *testcontext.Context, t *testing.T, log *zap.Logger, db *badgerauth.DB))
Run tests against a single badgerauth.(*DB).
Types ¶
type Get ¶
Get is for testing badgerauth.(*DB).Get method.
func (Get) Check ¶
func (step Get) Check(ctx *testcontext.Context, t testing.TB, db *badgerauth.DB)
Check runs the test.
type Put ¶
Put is for testing badgerauth.(*DB).Put method.
func (Put) Check ¶
func (step Put) Check(ctx *testcontext.Context, t testing.TB, db *badgerauth.DB)
Check runs the test.
Click to show internal directories.
Click to hide internal directories.