On Sun, 24 Feb 2008, carloc wrote:
> Hi I'm trying to use wicketTester and FormTester together with easymock.

Lately I've often overriden the newSessionStore method of 
the Application subclass to return new HttpSessionStore() in
the testing version of the application. This has helped on
some strange serialization issues with WicketTester of 1.3.


If you're interested in test-driving (or even behavior-driving)
Wicket components, and work on Java 5 or above, I can recommend 
jdave-wicket which has the excellent jMock 2 integrated into it.

  
http://svn.laughingpanda.org/svn/jdave/trunk/jdave-examples/src/test/jdave/examples/wicket/DictionarySpec.java

  http://www.jdave.org/usage.html

Having used EasyMock 1 and 2 and now jMock 2 with JDave, I'd
say that mocking has never felt as easy and straightforward
for me as with jMock 2.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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

Reply via email to