Skip to content

Release 6.10.0

Latest

Choose a tag to compare

@cucumberswift-release cucumberswift-release released this 04 Dec 09:21
Immutable release. Only release title and notes can be modified.
8ef3403

Features

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, #require or Issue.record in the XCTest runner, set SWIFT_TESTING_XCTEST_INTEROP_MODE to complete. 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 a BeforeFeature or AfterFeature hook calls it, and returns a value that no scenario sees. Move that state into a BeforeScenario hook, 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

Full list of changes: 6.9.0...6.10.0