Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusFailed = TestCaseStatus("failed") // Defined by Apple StatusPassed = TestCaseStatus("passed") // Defined by Apple StatusExpectedFailure = TestCaseStatus("expected failure") // Defined by Apple StatusStalled = TestCaseStatus("stalled") // Defined by us )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestAttachment ¶ added in v1.0.122
type TestCase ¶ added in v1.0.122
type TestCase struct { ClassName string MethodName string Status TestCaseStatus Err TestError Duration time.Duration Attachments []TestAttachment }
type TestCaseStatus ¶ added in v1.0.122
type TestCaseStatus string
type TestListener ¶ added in v1.0.122
type TestListener struct { TestSuites []TestSuite // contains filtered or unexported fields }
TestListener collects test results from the test execution
func NewTestListener ¶ added in v1.0.122
func (*TestListener) Done ¶ added in v1.0.122
func (t *TestListener) Done() <-chan struct{}
func (*TestListener) FinishWithError ¶ added in v1.0.133
func (t *TestListener) FinishWithError(err error)
func (*TestListener) LogDebugMessage ¶ added in v1.0.122
func (t *TestListener) LogDebugMessage(msg string)
func (*TestListener) LogMessage ¶ added in v1.0.122
func (t *TestListener) LogMessage(msg string)
func (*TestListener) TestRunnerKilled ¶ added in v1.0.122
func (t *TestListener) TestRunnerKilled()
type TestSuite ¶ added in v1.0.122
type TestSuite struct { Name string StartDate time.Time EndDate time.Time TestDuration time.Duration TotalDuration time.Duration TestCases []TestCase }
func RunXCUITest ¶
func RunXCUIWithBundleIdsCtx ¶ added in v1.0.71
Click to show internal directories.
Click to hide internal directories.