3 ms·
Yes. For me the tests are actually part of the class, which is one of the reasons I implemented my own test framework (https://github.com/mpw/MPWTest https://g
by mpweiher 13y ago
Yes. For me the tests are actually part of the class, which is one of the reasons I implemented my own test framework (https://github.com/mpw/MPWTest https://github.com/mpw/MPWTest). The other reason is that at the time I started, there was no other test framework for Objective-C...
I recently saw a new language that actually makes tests part of the class definition, so maybe that idea is gaining some traction. TDD also meshes well with "hexagonal architecture".