Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusFail = "Fail" StatusPass = "Pass" StatusSkip = "Skip" )
Test case status
View Source
const ( LifecycleTestSetup = "FrameworkTestSetup" LifecycleArrange = "Arrange" LifecycleAct = "Act" LifecycleAssert = "Assert" LifecycleAfter = "After" LifecycleTestFinished = "FrameworkTestFinished" )
Test case stages
View Source
const ( ResultPass = "PASS" ResultFail = "FAIL" )
test result constants
View Source
const DefaultHttpTimeout = time.Second * 30 // default HTTP client timeout
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Statistics ¶
type Statistics struct { Name string Failed bool Fatal bool Statuses []Status Timings map[string]Timing Start time.Time End time.Time Duration time.Duration Output string }
Statistics are the test results that will be saved to the DB
Click to show internal directories.
Click to hide internal directories.