Documentation ¶
Overview ¶
Package testing provides utilities for testing implementations of Store
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandTest ¶
RandTest is a randomized black-box test for store implementations. It does the following:
* Insert random values into the logs * Verify that reading back those values succeeds * Clear the logs and verify that they are actually empty.
If any of the checks are unsuccessful, RandTest calls t.Fatal ¶
The function newStore should return a new (empty) store to test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.