Releases: elegantchaos/XCTestExtensions
Releases · elegantchaos/XCTestExtensions
1.5
1.4.1
1.4
Added Matchable protocol, assertMatches
method, and XCTAssert(matches:).
Used for checking whether objects/values match. Failures deep inside structures will bubble up and be reported in the correct context by (XCFail), so that Xcode shows you the correct location of the failure.
1.3.3
1.3.2
1.3.1
1.3
1.2
1.1.2
Added testing support for Result
when the Failure
type is an Error
.
Errors aren't Equatable by default, so a result with an Error as a failure type can't be passed to XCTAssertEqual by default. We add explicit support for this, comparing the errors using their localised descriptions. Should work in most cases.