You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2010/01/09 06:26:28 UTC

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?


Liam Clarke-Hutchinson-3 wrote:
> 
> how can I provide this bean instead of the real bean,
> based on the value of WebApplication.getConfigurationType()?
> 

Take a look at http://wicketpagetest.sourceforge.net. Even though it was
designed
to support unit testing in mind, there is no reason why it can't be used in
system 
tests.

-----
--
Kent Tong
Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net)
Books on CXF, Axis2, Wicket, JSF (http://http://agileskills2.org)
-- 
View this message in context: http://old.nabble.com/Wicket-and-Spring---mocking-a-particular-bean-when-Wicket-is-in--development-mode--tp27067859p27085762.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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