v2.1.0 — Highlight Test Failures in Requirements File
This release adds a new feature which highlights the statement in a requirements file that failed. So if a test fails on the statement Given the user is logged in
, clicking on the test failure will jump to that .feature file and highlight that line. This makes it easy to directly see which requirements and statements are broken or not implemented.
To turn this off and jump instead to the statement handling code that failed, then add this property to your test configuration class:
var shouldDisplayFailuresOnRequirement = false
- This release also makes XCTest expectation-related methods available on the configuration class for using in statement handlers.