Re: [TFUI] Re: [TDD] Testing Dialogs
"Phlip" <[email protected]> Tue, 17 Oct 2006 21:28:03 -0700
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <005401c6f26d$ce966e40$81a1b04c@Marley> |
POWERDUDE wrote:
> A modeless window and a modal window are the same thing. the only
> difference is calling Show() or ShowDialog(). In your tests call Show()
> and in the real code call ShowDialog().
The next only difference, if I recall my Win32 SDK correctly, is one kind
must end with EndDialog() and the other ends with something else. So then
you need extra code in the dialog to call either kind.
> It seems you're going to do a lot of extra work that isn't necessary.
There's simply no way to under-emphasize this point: Many of our GUIs'
conveniences are false, and we need to adapt our style to TDD.
That extra work will include researching things that newb tutorials never
cover, and will include switching some of our production functions from
procedural to event-driven, just to accomodate testing.
The benefit is all the productivity boosts that TDD now gives to other
programming layers.
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/TestFirstUserInterfaces/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:TestFirstUserInterfaces-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org
mailto:TestFirstUserInterfaces-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> 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/