Documentation ¶
Overview ¶
Package test contains functions for testing `gokv.Store` implementations.
The functions are called from the actual test functions of all `gokv.Store` implementations in https://github.com/philippgille/gokv. If you create your own implementation, you can and probably should use these functions to test your implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InteractWithStore ¶
InteractWithStore reads from and writes to the DB. Meant to be executed in a goroutine. Does NOT check if the DB works correctly (that's done elsewhere), only checks for errors that might occur due to concurrent access.
func TestConcurrentInteractions ¶ added in v0.4.0
TestConcurrentInteractions launches a bunch of goroutines that concurrently work with the store.
Types ¶
Click to show internal directories.
Click to hide internal directories.