I guess your "creative" configuration is in a pom.xml file.  Could you post its 
relevant parts.

Oscar

---------------------------------------
Daun DeFrance <[EMAIL PROTECTED]> wrote: Rob,
We use HtmlUnit and Canoo Webtest running during a maven 2
integration-test phase.  We use the Jetty6 maven plugin to start a
container and then just fire the tests. It's taken some "creative"
configuration to get it working, but it works well and we are able to
get test reports and cobertura coverage of our classes.

We are now working on building a "Creator-based" framework to get more
granular testing of our pages.  We are doing the opposite process of
you, I guess.  Starting out and working in.

Best,
DeFrance

-----Original Message-----
From: Rob Dennett [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 18, 2006 11:01 AM
To: Tapestry users
Subject: How do you test tapestry 4?

I presume that everyone here separates their business logic from their
pages and that you unit test that code separately.  But how do you test
your pages and components in isolation?  It's all well and good to test
page and component class methods using the Creator, but there doesn't
seem to be anyway to test the rendered output from your pages separate
from the business tier.  You could manually replace the hivemodule with
one that injects fake services, but I would like to keep this process as
automatic as possible.  Could you use something like ant or maven to do
this and maybe to launch a container as well?

 

Thanks for your help,

Rob


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/342 - Release Date: 5/17/2006
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1&cent;/min.

Reply via email to