Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupRedis ¶
CleanupRedis cleans up the Redis database after a test. If checkClean is true, it will check for keys in the database that contain the test name and fail the test if any are found. It will then flush the database.
func FormatTerminal ¶
FormatTerminal formats a log entry for terminal output. It differs from Clue's default terminal format in that it formats timestamps in milliseconds instead of seconds.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer is a goroutine safe bytes.Buffer
func NewBufferedLogContext ¶
NewBufferedLogContext returns a new context and buffer for capturing log output.
Click to show internal directories.
Click to hide internal directories.