* Juergen Donnerstag:
> I understand this to be refactoring and that all existing unit tests
> for wicket are still working?

That's right the wicket unit tests should be updated to replace:

new WicketTester()

with:

new WebApplicationTester(new DummyApplication())

> Can this approach be applied to Application in general? See
> http://sourceforge.net/tracker/index.php?func=detail&aid=1458736&group_id=119783&atid=684975

No, this is not the same issue.  I don't really agree with
  [1458736 ] Do something about the proliferation of Application types
IMHO it's a non-issue.

But what about my proposition?  I have the feeling that Wicket
testing framework is not yet bulletproof and should be improved.
Another example: I found a bug yesterday that basically prevents
from using String arrays (same parameter repeated multiple times
in the request parameters) in tests.  And I noticed indeed that
  MockHttpServletRequest.setRequestToRedirectString()
needs some severe rewriting...

However string arrays do not work either in Wicket core, as
explained here:

[ 1493672 ] Handle String array in PageParameters
http://sourceforge.net/tracker/index.php?func=detail&aid=1493672&group_id=119783&atid=684977

BTW this bug report has been submitted in May, without any comment
in nearly four months.

Am I the only one to use WicketTester intensively?  And the only
one using String arrays in Wicket?  I can't believe it :-)
-- 
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to