Chris Hanson | 4 Jul 2006 06:46
Picon
Gravatar

[TFUI] Unit testing Cocoa user interfaces

A long time ago I promised to several people on a couple of lists  
that I'd write up my approach to doing user interface unit testing  
with the Cocoa framework on Mac OS X.  My initial write-up a year ago  
was a philosophical discussion of my approach, which I call "trust,  
but verify" and can be found here:

   http://chanson.livejournal.com/118380.html

I've just written up an additional post that describes how to  
actually write OCUnit unit tests that verify the controls in a Cocoa  
window are set up correctly.

   http://chanson.livejournal.com/148204.html

Note that I'm not trying to teach the Objective-C language,  the  
Cocoa framework, the OCUnit unit testing framework, or the out-of-the- 
box integration of OCUnit into Apple's Xcode IDE in this post.  Info  
on all of those can be found at <http://developer.apple.com/>.  (I  
also have a bunch of info available via the tags on the two posts.)

I hope someone else finds this useful.  I find that this approach  
makes it very straightforward to do test-driven development of user  
interfaces without having to change the either design patterns I'm  
using to build my software or the approach to tools like Interface  
Builder.

   -- Chris

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
(Continue reading)

Phlip | 10 Jul 2006 16:37
Picon
Gravatar

[TFUI] Watir ain't updated since August 2005

TFUIers:

Someone on USENET asked why Watir hasn't been upgraded since last year.

Is it perfect and impossible to improve?

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

(Continue reading)

Bret Pettichord | 10 Jul 2006 17:50
Gravatar

Re: [TFUI] Watir ain't updated since August 2005

On 7/10/06, Phlip <phlip2005@...> wrote:
>
> Someone on USENET asked why Watir hasn't been upgraded since last year.
>
> Is it perfect and impossible to improve?

Watir is under active development, but at a new site.

Recent builds
http://wiki.openqa.org/display/WTR/Development+Builds

Commit log
http://svn.openqa.org/fisheye/viewrep/watir/trunk/watir

Project Status
http://wiki.openqa.org/display/WTR

Bret

[Non-text portions of this message have been removed]

------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links
(Continue reading)

Phlip | 26 Jul 2006 15:46
Picon
Gravatar

Re: Separate Gui-components from the logic

Roland Bengtsson wrote:

> What opportunities do I have?

Do your test cases have an optional reveal() function?

Ask if you don't know what that means!

--

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!

To Post a message, send it to:   extremeprogramming <at> eGroups.com

To Unsubscribe, send a blank message to: extremeprogramming-unsubscribe <at> eGroups.com

ad-free courtesy of objectmentor.com 

Gmane