ocunit
OCMock for iPhone (iOS4, XCode 3.2.3)
I have the last version of OCMock (1.55) and XCode 3.2.3. I have created a test bundle target in my project. What is the best way to use OCMock in my tests?[详细]
2023-01-06 15:57 分类:问答Imported files not recognized in OCUnit
I am doing unit testing on my iPhone app using OCUnit on XCode 3.2.3, and iOS 4.0. I have successfully set up my testing environment to pass and fail basic tests appropriately, but when I import my ow[详细]
2023-01-06 05:36 分类:问答Trouble with OCUnit - Instantiating custom data type
I have successfully set up unit testing for an XCode version 3.2.2 project with the iPhone SDK version 3.1.2.[详细]
2023-01-05 08:25 分类:问答OCUnit testing an embedded framework
UPDATE: I ended up giving up and added GHUnit to my project instead. I got up and running with GHUnit in a matter of minutes.[详细]
2022-12-31 02:25 分类:问答What is the best approach for writing unit tests for iPhone / iPad?
I am developing an iPad application.I\'m not sur开发者_StackOverflowe if I should write unit tests for this application, and if so, how I should go about writing them.[详细]
2022-12-27 12:25 分类:问答How to write test cases for drawing text / string in a box?
I am drawing strings in a rectangular frame. The string is drawing perfectly. Now I need to write test cases using sentesting kit. I have no ideas from where I should start. For help I have also seen[详细]
2022-12-27 12:24 分类:问答Unit tests only run automatically when active SDK is "simulator"?
I have followed the instructions Apple publishes for unit testing applications on iPhone and things work great when I set the active SDK to \"iPhone Simulator\". I have it configured to always build a[详细]
2022-12-25 07:07 分类:问答Xcode Objective-c warnings "creating selector for nonexistent method" with OCUnit (SenTestingKit)
I started getting getting warnings like the following in XCode when trying to write some unit tests with OCUnit (SenTestingKit).[详细]
2022-12-22 11:02 分类:问答How to implement or emulate an "abstract" OCUnit test class?
I have a number of Objective-C classes organized in an inheritance hierarchy. They all share a common parent which implements all the behaviors shared among the children. Each child class defines a fe[详细]
2022-12-21 20:39 分类:问答How to configure a OCUnit test bundle for a framework?
I\'ve been developing a Mac OS X framework and I want to use OCUnit in my XCode 3.2.1 project. I\'ve followed several tutorials on how to config开发者_如何学运维ure a OCUnit test bundle. The problem i[详细]
2022-12-21 13:45 分类:问答