This is my favorite way to test Objective-C code:

https://github.com/mpw/MPWTest

To reduce size on release—I usually write the tests in a category and I wrap 
them in a macro such as:
> 
> #if TESTABLE_BUILD
> 
> @implementation....
> 
> #endif

On Sat, Nov 6, 2021, at 3:44 PM, Tito Mari Francis Escaño wrote:
> Hi everyone,
> Looking for test driven development tools for Objective-C, I ran into OCUnit 
> <http://www.sente.ch/software/ocunit/> and OCMock <https://ocmock.org/>, are 
> these commendable tools to use with GNUstep?
> What are the recommended alternative if these are not viable?
> Please provide pointers on specific versions we should work with since it 
> seems the most recent versions are iOS-specific and if there are things we 
> should watch out for when using these tools with GNUstep.
> Thanks so much.
> 

Reply via email to