Documentation ¶
Overview ¶
Package conformance provides conformance tests for storage implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTests ¶
RunTests runs a set of conformance tests against a storage. newStorage should return an initialized but empty storage. The storage will be closed at the end of each test run.
func RunTransactionTests ¶
RunTransactionTests runs a test suite aimed a verifying the transaction guarantees of the storage interface. Atomic updates, deletes, etc. The storage returned by newStorage will be closed at the end of each test run.
This call is separate from RunTests because some storage perform extremely poorly under deadlocks, such as SQLite3, while others may be working towards conformance.
Types ¶
This section is empty.