Re: Testing components within an application
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