Documentation ¶
Overview ¶
Package logger/parser contains methods to parse and restructure log output from go testing and terratest
Package logger/parser contains methods to parse and restructure log output from go testing and terratest
Package logger/parser contains methods to parse and restructure log output from go testing and terratest
Index ¶
Constants ¶
This section is empty.
Variables ¶
var NULL_TEST_RESULT_MARKER = TestResultMarker{}
A blank TestResultMarker is considered null. Used when peeking or popping an empty stack.
Functions ¶
Types ¶
type TestResultMarker ¶
TestResultMarker tracks the indentation level of a test result line in go test output. Example: --- FAIL: TestSnafu
--- PASS: TestSnafu/Situation --- FAIL: TestSnafu/Normal
The three markers for the above in order are: TestResultMarker{TestName: "TestSnafu", IndentLevel: 0} TestResultMarker{TestName: "TestSnafu/Situation", IndentLevel: 4} TestResultMarker{TestName: "TestSnafu/Normal", IndentLevel: 4}
type TestResultMarkerStack ¶
type TestResultMarkerStack []TestResultMarker
TestResultMarkerStack is a stack data structure to store TestResultMarkers