[TFUI] Re: reveal() for JSP?

"J. B. Rainsberger" <[email protected]> Tue, 06 Sep 2005 08:26:07 -0400
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
[email protected] wrote:

> Subject: reveal() for JSP?
> 
> TFUI:
> 
> Has anyone written a reveal() method for a JSP app?
> 
> How close is Cactus to supporting one? How close is JWebUnit?
> 
> Which run server-side?

Assuming I understand what reveal() is supposed to do, I do one of two 
things:

1. fail(htmlPageAsXmlString);
2. openBrowser(url);

I use the former often when testing page templates with (not JSP) 
technology, like Velocity or Freemarker, where there is no reliance on a 
web container. It helps me when I can't tell why one of my XPath-based 
assertions is failing.

As for the other, I've never put it code. I usually just have a browser 
open and press F5.

Take care.
-- 
J. B. (Joe) Rainsberger
Diaspar Software Services
http://www.diasparsoftware.com
2005 Gordon Pask Award Winner for contribution to Agile practice
Author, JUnit Recipes: Practical Methods for Programmer Testing


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/