You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Mark W. Shead" <mw...@fas.harvard.edu> on 2009/08/25 04:46:56 UTC

Switch AppModule to TestModule for testing

I am doing testing using Selenium using classes that extend  
AbstractIntegrationTestSuite.  When I bring up the testing environment  
I would like do different bindings in AppModule than when the app is  
normally running.  I have created an alternative to AppModule called  
TestModule.  Is there any way to tell Tapestry to use TestModule  
instead of AppModule from my test classes?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Switch AppModule to TestModule for testing

Posted by Sebastian Hennebrueder <us...@laliluna.de>.
The name 'App'Module is taken from the filter name as defined in the 
web.xml.
Just deploy a modified web.xml using test as filter name.


-- 
Best Regards / Viele Grüße

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de



Inge Solvoll schrieb:
> I think this is what you're looking for:
> 
> http://tapestry.formos.com/nightly/tapestry-testify/
> 
> On Tue, Aug 25, 2009 at 4:46 AM, Mark W. Shead <mw...@fas.harvard.edu>wrote:
> 
>> I am doing testing using Selenium using classes that extend
>> AbstractIntegrationTestSuite.  When I bring up the testing environment I
>> would like do different bindings in AppModule than when the app is normally
>> running.  I have created an alternative to AppModule called TestModule.  Is
>> there any way to tell Tapestry to use TestModule instead of AppModule from
>> my test classes?
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Switch AppModule to TestModule for testing

Posted by Inge Solvoll <in...@gmail.com>.
I think this is what you're looking for:

http://tapestry.formos.com/nightly/tapestry-testify/

On Tue, Aug 25, 2009 at 4:46 AM, Mark W. Shead <mw...@fas.harvard.edu>wrote:

> I am doing testing using Selenium using classes that extend
> AbstractIntegrationTestSuite.  When I bring up the testing environment I
> would like do different bindings in AppModule than when the app is normally
> running.  I have created an alternative to AppModule called TestModule.  Is
> there any way to tell Tapestry to use TestModule instead of AppModule from
> my test classes?
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>