Miscellaneous minor unit-testing utilities falling within three categories:
- useful, minor extensions on
XCTTestCase
- an ever-growing set of
XCTAssert...
-style test assertions - support for verifying the coherence of various protocol conformances:
- is your
==
logically-coherent? - is your
<
logically-coherent? - does your
Collection
agree with itsIndex
about, e.g., ordering?
(1) and (2) are both useful, but category (3) is really why this library exists--any error caught, here, will avoid literal hours of frustration while diving into some subtle misbehavior. Expanded commentary can be found in the Remarks.md
file, here.
This package is part of the HDXL project family of libraries, and was originally a part of HDXLCommonUtilities
.