Repository navigation
Features
- Turn a scenario's Gherkin tags into Swift Testing scoping traits (#621, #626 by @ianhlavats)
Bugs
-
Leave the redundant time out of the coverage summary when no scenario is redundant (#524, #624 by @ianhlavats)
-
The Swift Testing runner doesn't report invalid regular expressions in step definitions (#549, #550 by @ianhlavats)
-
Follow the XCTest–Swift Testing interop mode in both runners (#562, #573 by @ianhlavats)
Migration:
CucumberSwift no longer turns on XCTest's interop mode itself. To fail a step on a
#expect,#requireorIssue.recordin the XCTest runner, setSWIFT_TESTING_XCTEST_INTEROP_MODEtocomplete. Xcode 26.4 and 26.6 leave it off by default, and Xcode 27 turns it on. A warning in a Swift Testing runner step no longer fails the step. -
Record a failed try #require once in the Swift Testing runner (#564, #570 by @ianhlavats)
-
Fail Scenario.state outside a running scenario, in both runners (#566, #569 by @ianhlavats)
Migration:
Scenario.state(_:)now fails when aBeforeFeatureorAfterFeaturehook calls it, and returns a value that no scenario sees. Move that state into aBeforeScenariohook, or into a static of your own. -
Make the Mutation testing article match the command's output and our CI (#628, #629 by @ianhlavats)
Tasks
- Fix the Swift Package Index builds, and building for watchOS devices (#625, #634 by @ianhlavats)
- Pick the release workflow's iPhone simulator the way CI does (#636, #637 by @ianhlavats)
Full list of changes: 6.9.0...6.10.0