Documentation ¶
Overview ¶
Package storagetest is a test suite for raft.Storage implementations.
The otherwise read-only storage interface is augmented with write methods for use in the tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTests ¶
func RunTests(t *testing.T, setUp func(*testing.T) WriteableStorage, tearDown func(*testing.T, WriteableStorage))
RunTests runs the test suite. The setUp and tearDown functions will be called at the beginning and end of each test case.
Types ¶
Click to show internal directories.
Click to hide internal directories.