Dear all,

I've made a small library to unit test Wicket pages: It launches Jetty
to run your webapp in-process and launches the Selenium client. Then you
inject POJO mock objects into @SpringBean annotated fields and use the
Selenium client to drive your page.

Why I think it is useful?
* The key benefit is that you can control the right thing (the data your
pages get, from the services), and then observe the right thing (HTML
DOM elements, possible manipulated by Javascript/AJAX).

* Your real application is run. You don't need to modify it in anyway.

* It's very easy to implement as it relies on well established tools
(Selenium and Jetty). It means it can easily be kept updated with new
versions of Wicket.

* Potentially this approach can be applied to frameworks other than
Wicket.

You're welcome to test it. Visit
http://wicketpagetest.sourceforge.net/index.html for more info.

--
Kent Tong
Useful & FREE software at http://www2.cpttm.org.mo/cyberlab/freeware

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

Reply via email to