Documentation ¶
Overview ¶
Package tests provides the generic support all tests require.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Success = "\u2713" Failed = "\u2717" )
Success and failure markers.
View Source
var Logdash bytes.Buffer
Logdash is the central buffer where all logs are stored.
View Source
var TraceID = "Test"
TraceID provides a base trace id for tests.
Functions ¶
func DisplayLog ¶
func DisplayLog()
DisplayLog writes the Logdash data to standand out, if testing in verbose mode was turned on.
func IndentJSON ¶
IndentJSON takes a JSON payload as a string and re-indents it to make comparing expected strings to tests strings during testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.