Re: Re: TDD at the GUI end

Keith Ray <[email protected]>
Newsgroups gmane.comp.programming.test-driven-development,gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
> And note, in general, that functions like MessageBox() or DoModal() 
> contain
> a false "convenience"; they block until their raised window closes. 
> This
> couples control flow to the calling function, merely so you can apply 
> the
> trivial convenience of writing an 'if' statement:
>
>     if (IDYES == MessageBox(...))
>         {...}

If you just want to inform about assertion failures, don't block at 
all, just fprintf( stderr, "line %d, file '%s', assert '%s' failed", 
...




--
C. Keith Ray
<http://homepage.mac.com/keithray/blog/index.html>
<http://homepage.mac.com/keithray/xpminifaq.html>
<http://homepage.mac.com/keithray/resume2.html>



 
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.