3 ms·
My MPWTest[1] Objective-C unit testing framework has unit tests as categories of the class under test. For me it - avoids the duplicate class hierarchies you g
by mpweiher 10y ago
My MPWTest[1] Objective-C unit testing framework has unit tests as categories of the class under test. For me it
- avoids the duplicate class hierarchies you get with xUnit,
- avoids having to expose class internals for testing,
- makes tests an integral part of code, instead of an external add-on.
[1] https://github.com/mpw/MPWTest https://github.com/mpw/MPWTest