MDFTesting extends XCTest framework with testing helper additions.
A category on XCTestCase provides various methods for test assertions:
- (void)testUIColorMDFTestingEqualityAssertion {
// When
UIColor *whiteColor1 = UIColor.whiteColor;
UIColor *whiteColor2 = [UIColor colorWithRed:1 green:1 blue:1 alpha:1];
// Then
XCTAssertEqualColors(whiteColor1, whiteColor2);
}
See examples/ for a detailed example of how to use the functionality provided by this library.
MDFTesting is licensed under the Apache License Version 2.0.