Re: [TFUI] Temporary Interactive Tests

Phlip <phlipcpp-/[email protected]>
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Timothy Wall wrote:

> I think you forgot to actually show the frame...

Thanks again for the code sample, dude!

> Like maybe here?
> >         JTextFieldOperator textfield = new
> > JTextFieldOperator(frame, 0);
> >         assertTrue("textfield is enabled",
> > textfield.isEnabled());
> >         assertTrue("textfield is editable",
> > textfield.isEditable());
> >     //    reveal(frame);
                 ^
Here. Down where the action is. Write the case (or
part of it), and then put a reveal() in, to compare
what the case says the GUI's doing to what it's really
doing.

The point, again: Write reveal() and get it working
_before_ a big GUI effort. When the time comes to add
a reveal() and see what's going on, you should not
need to hesitate or research or think - you just type
reveal(), put your frame it, and let the fixtures take
care of the rest.

(BTW this applies to both Temporary Visual Inspections
and Temporary Interactive Tests. Sometimes the same
fixture can support them, other times you need two fixtures.)

=====
Phlip
  http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/
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.