• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unit testing with SenTestingKit, please hold my hand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unit testing with SenTestingKit, please hold my hand


  • Subject: Re: unit testing with SenTestingKit, please hold my hand
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 6 Dec 2006 14:46:04 -0800

On Dec 5, 2006, at 10:53 AM, Matt Neuburg wrote:

Could someone please give me instructions for writing a Cocoa/ObjC unit test
that actually work?

First I followed the instructions in this document:

<http://developer.apple.com/tools/unittest.html>

These instructions are out of date with respect to the integrated unit testing support that was included as part of Xcode 2.1 and later.  It was written before Tiger shipped, for Xcode 1.5 and the Sen:te distribution of OCUnit, and hasn't been updated.

I've made several posts related to Xcode unit testing on my weblog since the release of Xcode 2.1 describing in depth how to use it for a variety of purposes.

  Unit Testing Cocoa frameworks
  http://chanson.livejournal.com/119303.html

  Debugging Cocoa Framework Unit Tests
  http://chanson.livejournal.com/119578.html

  Unit Testing Cocoa Applications
  http://chanson.livejournal.com/120263.html
  
  Debugging Cocoa application unit tests
  http://chanson.livejournal.com/120740.html

  Trust, but verify.
  http://chanson.livejournal.com/118380.html

  Unit testing Cocoa user interfaces: Target-Action
  http://chanson.livejournal.com/148204.html

  Unit testing and Core Data
  http://chanson.livejournal.com/115621.html

I know others have written about unit testing with Xcode and OCUnit as well.  A web search should turn up others' posts.  There are also sections on unit testing in some of the recent Xcode books, in addition to the Xcode Unit Testing Guide.

  -- Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >unit testing with SenTestingKit, please hold my hand (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: unit testing with SenTestingKit, please hold my hand
  • Next by Date: Re: unit testing with SenTestingKit, please hold my hand
  • Previous by thread: Re: unit testing with SenTestingKit, please hold my hand
  • Next by thread: Re: unit testing with SenTestingKit, please hold my hand
  • Index(es):
    • Date
    • Thread