Hi folks,

I'm attempting to write unit tests for target-action connections for
Cocoa user interfaces, as described by Chris Hanson in his article "Unit
testing Cocoa user interfaces: Target-Action"(1) but am not succeeding.

I have created a trivial Cocoa Application, with trivial model and
controller classes, and with a view built in Interface Builder.  The
application changes its window title when its button is pressed, so it
obviously can load its window and is able to send messages to it.

I can't test it though, because I'm unable to get the window loaded
by/for the tests.  The -testWindowLoading test, which I swiped from Mr.
Hanson's article fails.

Any suggestions?

Thanks,
David

P.S.  If this is not the appropriate forum for this question, please let
me know & I'll ask elsewhere.

P.P.S.  Source code is at http://DavidSilber.name/Downloads/Hello.tar.gz

(1) http://chanson.livejournal.com/148204.html

-- 
David H. Silber  --  http://DavidSilber.name/
~                                               
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to