Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupRedis ¶
func CleanupRedis(client *redis.Client)
CleanupRedis closes the Redis client connection
func SetupContext ¶
SetupContext returns a background context for testing
func SetupMemoryStore ¶
func SetupMemoryStore() *knowledge.MemoryStore
SetupMemoryStore creates a new memory store for testing
func SetupRedisStore ¶
func SetupRedisStore(t *testing.T) *knowledge.RedisStore
SetupRedisStore creates a Redis store for testing, skips if Redis unavailable
func SkipIfNoRedis ¶
SkipIfNoRedis skips the test if Redis is not available
func SkipIfShort ¶
SkipIfShort skips the test if running in short mode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.