Re: Testing components within an application
Re: Testing components within an application
- Subject: Re: Testing components within an application
- From: Andre Masse <email@hidden>
- Date: Sat, 22 Nov 2008 14:43:50 -0500
Hi Frank,
I used to do this back in my Java days: put a main function in the
class and just run it. That was a quick way to test a class, but I
don't think you can do that as easily in Cocoa. I maybe wrong though,
still a noob here :-).
Andre Masse
On Nov 22, 2008, at 08:08, 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?
Thanks,
Frank
_______________________________________________
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