OCUnit Tip: You Only Need a .m File
Read OriginalThis technical tip clarifies that when writing unit tests with OCUnit for Objective-C, you only need a .m source file and no corresponding .h header. The article explains that test cases are private implementation details with no public interface, as they are never imported by other tests. It provides a code example showing the @interface and @implementation within the same .m file.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser