Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit and Functional testing iPhone code?

I just sat in on a seminar about developing apps for the iPhone. The speaker told me that there is NOTHING available for writing unit tests or functional tests for your iPhone software.

Is this true? Is there really no testing story for the iPhone as of now?

like image 575
Brian Genisio Avatar asked Jan 12 '09 22:01

Brian Genisio


People also ask

What is unit code functional testing?

Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. This testing methodology is done during the development process by the software developers and sometimes QA staff.

What is code coverage in unit testing iOS?

Key to unit testing is code coverage, which indicates what percent of the tested code was executed when the corresponding unit tests were run. Generally, we want to have a high percentage of code coverage. Xcode 7 introduced a code coverage feature which allows us to measure and visualize code coverage.


1 Answers

Yes you can do unit testing, I hope the seminar didn't cost too much. Do OCUnit and OCMock work on the iPhone SDK?

like image 103
2 revs Avatar answered Oct 03 '22 10:10

2 revs