MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Unit Testing iOS Applications with Xcode 4

Course Summary

 Demonstrates effective use of iOS unit testing tools and techniques to increase app stability.       

  • +

    Course Syllabus

       What you should know
       Using the exercise files
    1. Unit Testing Concepts
       What is unit testing?
       Understanding different types of testing
       Why unit test?
       Understanding how to unit test
       Working with unit testing frameworks for iOS
       Understanding test-driven development
       Understanding the use of unit tests in refactoring
       A summary of unit testing concepts
    2. Getting Started with OCUnit Tests
       What is OCUnit?
       Using OCUnit with Xcode 4 vs. Xcode 3
       Including unit tests in a new project
       Adding unit tests to an existing project
       OCUnit: application tests vs. logic tests
       Writing a logic unit test
       Understanding the rules for writing good unit tests
       Writing an application unit test
       Exploring Xcode dependencies and schemes
    3. Getting Started with GHUnit Tests
       What is GHUnit?
       Adding GHUnit to a project
       Writing GHUnit unit tests
       Looking at asynchronous tests
       Testing an API with GHUnit asynchronous tests
       A summary of GHUnit
    4. Debugging Unit Tests
       An overview of debugging
       Debugging OCUnit tests
       Providing debug info in STAsserts
       Debugging GHUnit tests
       Debugging product code using unit tests
    5. Using Mock Objects
       What are mock objects?
       Installing OCMock
       Creating OCMock stubs
       Expecting and verifying calls to a mock
       Exploring OCMock partial mocks
       Reviewing unit test coverage for an existing class
    6. iOS-Specific Examples
       Forming an iOS unit testing strategy
       More on OCUnit application testing
       Setting up a ViewController for testing
       Testing ViewControllers
       Testing notification generation
       Testing notification handling
       Testing notification registration
       Testing singletons
       Testing gesture recognizers
       Analyzing code coverage with CoverStory
       Where to go from here


Course Fee:
USD 25

Course Type:


Course Status:



3 - 4 hours / week

This course is listed under Development & Implementations and Quality Assurance & Testing Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top