Re: [TFUI] The TFUI Principles

Kevin Lawrence <[email protected]>
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Owen Rogers wrote:
>>May I ask if anyone has added a 'reveal()' method to their test cases?
> 
> 
> hi phlip,
> i did exactly this a few months ago on my current project.  it has
> been hugely successful.  it's transformed the client from something
> that the developers said was "too hard to test" to a part of the
> codebase that is now being completely test-driven.

I always do that too. I always have separate createDialog() and 
showDialog() methods to give the test the opportunity to intercept the 
calls to substitute a TestableDialog and/or skip the show() method so 
the dialog doesn't actually pop up.

Kevin


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/
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.