Reputation: 2894
when run the target for test cases nothing is happening instead it is showing warning message
warning: Skipping tests; the iPhoneSimulator platform does not currently support application-hosted tests (TEST_HOST set).
i am using xcode 3.2.5 and iOS4.2 ..........
Upvotes: 4
Views: 1582
Reputation: 20980
Original answer from Dec. 29, 2010:
Ignore Apple's distinction between "Logic tests" and "Application tests". Use GTM instead. You'll have one testing target that works on either the simulator or the device, and can be debugged without additional setup.
New answer:
Xcode's built-in unit testing has come a long way since then. I've switched from GTM back to OCUnit. See http://qualitycoding.org/xcode-unit-testing/
Upvotes: 1
Reputation: 150615
I believe you can't run unit tests on the Simulator, you need to run them on the device itself.
Edited to add
Times have changed!
Upvotes: 1