Skip to content

Releases: elegantchaos/XCTestExtensions

1.5

30 Aug 12:27
Compare
Choose a tag to compare

Added some screenshot automation support.

1.4.1

30 Apr 13:28
Compare
Choose a tag to compare

Split matchable into a separate package.

1.4

29 Apr 18:55
Compare
Choose a tag to compare
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

20 Apr 12:03
Compare
Choose a tag to compare

Use custom string comparisons when comparing two string arrays.

1.3.2

19 Mar 11:16
Compare
Choose a tag to compare

Fixed minimum platforms for iOS/tvOS/watchOS.

1.3.1

26 Feb 16:46
Compare
Choose a tag to compare

Added some assertion support for Combine.
XCTAssertEmitsValue, XCTAssertEmitsNoValue, XCTAssertChanges, XCTAssertDoesntChange.

1.3

11 Feb 16:49
Compare
Choose a tag to compare
1.3

Added XCTAssert(_, isType:)

1.2

19 Jan 16:36
Compare
Choose a tag to compare
1.2

Added helper to wait for an asynchronous block to finish.
Added XCTAssertEmpty for collections.
Added XCTAssertFailure for results.

1.1.2

31 May 16:18
1599147
Compare
Choose a tag to compare

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.

1.1.1

24 Mar 17:28
5a6c9b3
Compare
Choose a tag to compare

Fixed run method on Linux.