Re: [TFUI] Re: [TDD] TDD'ing UI layout.
Cory Foy <[email protected]> Tue, 15 Nov 2005 09:41:19 -0500
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
Phlip wrote:
> Tim Haughton wrote:
>
>
>>I've always been a 'thin layer of untestable GUI' kind of guy.
>>Recently I started hand rolling GUIs and TDD'ing the whole thing
>>(including layout) as part of a learning exercise revolving around how
>>far I could push testing on Windows Forms. I'm pretty sure I've found
>>the limits. In fact I think I've gone to far.
>
>
> Windows Forms might hit that limit quite early ;-)
>
> A ruthlessly effective way to test layout for HTML is to generate pure
> XHTML. Then capture it, and query into it with XPath. For example:
It just hit me that we have a method in one of the classes of the legacy
.NET app I'm working on that captures the entire layout of the controls
on the form to an XML file, and then can restore it from there. I wonder
if one could do some testing with that...
Cory
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
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-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/