Re: TDD'ing UI layout.

Phlip <[email protected]> Tue, 15 Nov 2005 06:04:01 -0800
Newsgroups gmane.comp.programming.test-driven-development,gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Tim Haughton wrote:

> Straw poll.

Nope. Miniature manifesto.

> Do you Test Drive the layout of your GUI? Why? If not, why not?

Test not structure but behavior. For internal code, don't test little
support things like [] and {}. Test 'if', or '.methodCall()'.

A GUI's appearance is typically a static declaration. That's why many
GUIs specify their layout using a static definition language, RC or
HTML, for example, that support layout editors.

If your GUI then changes its appearance based on internal data, and if
a bug in that appearance could cause the user to enter a bug, then you
must pin that down.

This page links to excerpts that cover these topics in great detail:

http://www.zeroplayer.com/cgi-bin/wiki?TestFirstUserInterfaces

--
  Phlip
  http://www.greencheese.org/ZeekLand  <-- NOT a blog!!


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/NhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    [email protected]

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