Enumeration Caseswift-testing 6.0.2Testing
iterationStarted(_:)
An iteration of the test run started.
Event.swift:45This declaration is gated by at least one @_spi attribute.
indirect case iterationStarted(_: Int)
Parameters
- index
The index of the iteration. The first iteration has an index of
0
.
This event is posted at the start of each test plan iteration.
By default, a test plan runs for one iteration, but the repetitionPolicy
property can be set to allow for more iterations.
Other cases
Show system interfaces (13)
Hide system interfaces
case testDiscovered
A test was discovered during test run planning.
case runStarted
A test run started.
case planStepStarted(Runner.Plan.Step)
A step in the runner plan started.
case testStarted
A test started.
case testCaseStarted
A test case started.
case testCaseEnded
A test case ended.
case expectationChecked(Expectation)
An expectation was checked with
#expect()
or#require()
.case issueRecorded(Issue)
An issue was recorded.
case testEnded
A test ended.
case testSkipped(SkipInfo)
A test was skipped.
case planStepEnded(Runner.Plan.Step)
A step in the runner plan ended.
case iterationEnded(Int)
An iteration of the test run ended.
case runEnded
A test run ended.