ocunit
Unit testing and iPhone development
I\'m currently using OCUnit that ships with Xcode 3.2.4 for doing unit testing of my application. My workflow is often to set some break points in a failing unittestin order to quickly inspect the sta[详细]
2023-01-22 00:49 分类:问答How can I run OCUnit (SenTestingKit) with NSDebugEnabled, NSZombieEnabled, MallocStackLogging?
I have an error similar to the one in this post. Now, I\'m sure I\'ve made some stupid error somewhere, probably related to releasing an object or an observer or what-not, but since I can\'t seem to f[详细]
2023-01-18 02:07 分类:问答What is a good tutorial for getting started with iPhone unit testing using OCUnit?
I am trying to get OCUnit to do anything on my project, but I am failing :-( Is there any good tutorial out there to get it work? Everything I find tells something different and they are all pretty co[详细]
2023-01-17 16:06 分类:问答Unit Testing broken in iOS 4.1 SDK?
After upgrading to the 4.1 iOS SDK my unit test bundles always return with the following two errors and one warning:[详细]
2023-01-16 01:28 分类:问答Why does using UITableViewCell from a unit test cause a Trace/BPT trap?
I have the following minimal test case in a minimal project created following the GHUnit README: #import <GHUnitIOS/GHUnitIOS.h>[详细]
2023-01-14 19:59 分类:问答OCUnit tests not running / not being found
I\'m trying to get to grips with OCTest, but can\'t seem to get it to actually run my tests (at least, I believe it\'s not running my tests). I\'ve set up a project as described in the developer docum[详细]
2023-01-14 12:15 分类:问答SenTestKit: cleaning up after ALL tests have run?
I am using SenTest in XCode for my unit tests. I must run a command-line task for my unit tests to test. I can do that in the +initialize method of my test class (subclass of SenTestCase, of course).[详细]
2023-01-14 11:56 分类:问答OCUnit wants me to install Rosetta
I followed the instructions on Unit Testing objective C from Apple: http://developer.apple.com/tools/unittest.html[详细]
2023-01-11 16:27 分类:问答OCUnit for iPhone App - Set all .m files as part of UnitTest Target
Hy everybody, I have two targets: MyApp and UnitTests MyApp contains two classes: ClassA and ClassB. ClassA has a method \"getSomeNumber\" that uses a ClassB method.[详细]
2023-01-09 15:59 分类:问答OCUnit Error Codes
Does anyone know how to find a list of all the possible error codes thrown by the ostest utility, and their meanings? I noticed this to be a common problem for people, where they ask about an OCUnit f[详细]
2023-01-09 01:48 分类:问答