Releases: net-a-porter-mobile/XCTest-Gherkin
Releases · net-a-porter-mobile/XCTest-Gherkin
Swift 5
Swift 5
Updates the code to compile on Swift 5.
Explicit string matching
- Add
step(exactly: String)
to explicitly exactly match a step instead of using regexes (fixes #142) - Add regex options to step definitions (thanks @ilyapuchka)
- Backgrounds in native tests
- Add assertion when unknown example key is being used
Xcode 10
- Fix for name property on the PageObject
Xcode 10
- Xcode 10 support
- Support for named matches
- Add descriptions to feature files
- Improvements to logging
- Feature file localisation support
- Highlight correct line in feature files for failing tests
- Track unused steps
- Introduce PageObject
Arbitrary types in steps
You can now pass in and match against arbitrary types in step definitions (thanks @ilyapuchka)
Screenshots
- Automatically take screenshots of failing tests (thanks @ilyapuchka)
- More representative failures on test misconfigurations (thanks @ilyapuchka)
Hotfix
- Show error step location as well as assertion failure location (thanks @ilyapuchka)
Hotfix
- Make the
test
property in step definitions point to the currently running test instance instead of always pointing to the first test which was run. (thanks to @ilyapuchka)
Swift 4
0.13.2 Merge pull request #87 from net-a-porter-mobile/feature/remove-swift-…