Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertionResult ¶
type AssertionResult struct { Index int FailInfo []string Passed bool AssertType string Not bool CustomInfo string }
AssertionResult result return by Assertion.Assert
type TestJobResult ¶
type TestJobResult struct { DisplayName string Index int Passed bool ExecError error AssertsResult []*AssertionResult Duration time.Duration }
TestJobResult result return by TestJob.Run
func (TestJobResult) Stringify ¶
func (tjr TestJobResult) Stringify() string
Stringify writing the object to a customized formatted string.
type TestSuiteResult ¶
type TestSuiteResult struct { DisplayName string FilePath string Passed bool ExecError error TestsResult []*TestJobResult SnapshotCounting struct { Total uint Failed uint Created uint Vanished uint } }
TestSuiteResult result return by TestSuite.Run
func (*TestSuiteResult) CalculateTestSuiteDuration ¶
func (tsr *TestSuiteResult) CalculateTestSuiteDuration() time.Duration
CalculateTestSuiteDuration to calculate the total duration of the testsuite.
func (*TestSuiteResult) CountSnapshot ¶
func (tsr *TestSuiteResult) CountSnapshot(cache *snapshot.Cache)
CountSnapshot counting the snaphots.
Click to show internal directories.
Click to hide internal directories.