Documentation
¶
Overview ¶
Package cachetest provides a black-box conformance suite for storage.Cache implementations.
Every implementation must pass the same suite. A contract exercised by only one implementation is not a contract: the previous AdapterCache was shaped around Redis, its Redis implementation was removed, and the remaining in-memory one emulated the shape with string concatenation — nothing checked that the two ever agreed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunQueue ¶
func RunQueue(t *testing.T, newQueue QueueFactory)
RunQueue executes the queue conformance suite against newQueue.
Types ¶
Click to show internal directories.
Click to hide internal directories.