Xcode 5 // iOS 6 and 7 // TDD: OCUnit or XCTest

I am a student in software development, studying a practical course, where a small group of students work with a third-party client to solve a problem. My team was assigned a project that involves recording an iOS program. None of us have ever programmed iOS. We read voraciously, but we need to get closer as soon as possible, since the semester lasts only 15 weeks.

My question is about the testing framework. Our team plans to use TDD. Our iOS application should support iOS 6 and 7. It seemed to me that I read somewhere that XCTest supports only iOS 7, and we will need to use OCUnit to support iOS 6. Is this true? How to write an application that supports iOS 6 and 7? Is it as simple as setting a deployment target on iOS 6.0 and not using any of the APIs introduced after iOS 6.0?

+4
source share
2 answers

You can target on iOS 6 and above, but if you use XCTest, you can only run your tests on iOS 7.

+5
source

, XCTest , Kiwi (https://github.com/allending/Kiwi) , , (xctest/octest) , . , /stubbing, .

+3

All Articles