• 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: Testing components within an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing components within an application


  • Subject: Re: Testing components within an application
  • From: Graham Cox <email@hidden>
  • Date: Sun, 23 Nov 2008 00:11:34 +1100


On 23 Nov 2008, at 12:08 am, Frank Wilson wrote:

Is there a way that seasoned cocoa (Obj-C) programers test particular parts of their
code without running the whole application? For instance if I have built
a particular interface component I would like to interact with it and verify
that the model is being changed correctly or simply demonstrate that it
works. I think that requires slightly more functionality than the IB simulator
gives.


I'm not looking for an automated testing framework like JUnit, just a way
to way to run a particular part of my program like "main( String[] args)"
in Java.


I suppose you could do this by implementing extra build targets
but that would mean having several "applications" in the same project.
It sounds a bit heavy.

Any ideas?



http://developer.apple.com/documentation/DeveloperTools/Conceptual/UnitTesting/UnitTesting.html


hth,

Graham
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Testing components within an application (From: Frank Wilson <email@hidden>)

  • Prev by Date: Testing components within an application
  • Next by Date: Re: NSCollectionView woes
  • Previous by thread: Testing components within an application
  • Next by thread: Re: Testing components within an application
  • Index(es):
    • Date
    • Thread