Skip to content
iUnitTest is an unit testing framework for iPhone applications.
Objective-C C Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
templates/File Templates/iUnitTest


                               ITO SOFT DESIGN Inc.
                               Katsuyoshi Ito <>
                               January 30, 2009


iUnitTest is an unit testing framework for iPhone applications. It provides Xcode templates of test application projects and test classes. After creating your own iUnitTest application from the template and adding target classes, test classes and test methods, you just need to start the iUnitTest application and press the 'Start' button to run your tests.
In iUnitTest application, all methods whose name start with 'test' in classes inherited from IUTTest will be run as test cases.


opencode is a service to show a source code.
If you run with opencode, when you touch the failure cell, iUnitTest send a source code information to it. Then failure code appear on Xcode. It works running on iPhone simulator.

On the Xcode 4, it just open the file. it can’t select the line. If you know the way to select the line, please let me know.


iPhone SDK for iOS 5 or later with the Xcode 4.
When your target is before iOS5 with the Xcode 3, use sdk3.0 branch.


Run 'sudo ./setup'. Then the iUnitTest templates will be added to your Xcode.

On the Xcode 4 the iUnitTest project template doesn’t work.
Please use iut ( instead of it.

opencode: See tools/opencode/Install.txt


See the examples in the 'tutorial' directory.

There are two sample projects, 'Prefectures' and 'PrefecturesTest'.
'Prefectures' project is the target project of testing.
'PrefecturesTest' project is the test application project to test 'Prefectures', generated from the iUnitTest Application template.


Thanks to everyone for giving me advise on release of iUnitTest.
And I especillay appreciate nobon('s offer of his cool icon
and Yasuko OHBA(Everyleaf Corp. 's support
for translating ReadMe in English.

Something went wrong with that request. Please try again.