RE: [TFUI] Re: [TDD] Testing Dialogs

"Anderson, Kelly" <[email protected]> Wed, 18 Oct 2006 09:29:39 -0600
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Ok, I'll give that a try. Sounds easier for sure.

When you do something different at test time and run time, how do you
accomplish that? With injection, with ifdefs or what? I've avoided that
because it seems Kludgy and a bit dangerous to me...

-Kelly 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, October 17, 2006 11:48 AM
To: [email protected]
Subject: Re: [TFUI] Re: [TDD] Testing Dialogs

Kelly,
 
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().
 
It seems you're going to do a lot of extra work that isn't necessary.
 
cliff 





E-Mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Sender is not liable for any loss or damage arising from this message.

The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized.




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/