Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Test ¶
func Test(t *testing.T, opts TestOptions)
Test runs a suite of tests against a storage.Backend implementation to check it correctly implements our required behaviours.
Types ¶
type TestOptions ¶
type TestOptions struct {
// NewBackend will be called to construct a storage.Backend to run the tests
// against.
NewBackend func(t *testing.T) storage.Backend
// SupportsStronglyConsistentList indicates whether the given storage backend
// supports strongly consistent list operations.
SupportsStronglyConsistentList bool
}
Click to show internal directories.
Click to hide internal directories.