puccio
Jul 10th, 2006, 02:05 PM
Hi,
I would like to do some in-container testing on my Spring MVC app (which has a rich client interface which makes XmlHttpRequests and some DOM manipulation on the JSP pages).
I was thinking about using JUnit as testing framework infrastructure, HtmlUnit libraries to emulate browser-like black box beahviour (which good support for Javascript and XmlHttpRequests), Jetty as embedded servlet container to be instantiated during test set up, and Hsqldb as in-memory db where I would save and delete datas to execute my test methods in isolations.
Can someone give me some advices for the given scenario (maybe pointing to some resources), or even a suggestion for some better way to make in-container testing?
I would like to do some in-container testing on my Spring MVC app (which has a rich client interface which makes XmlHttpRequests and some DOM manipulation on the JSP pages).
I was thinking about using JUnit as testing framework infrastructure, HtmlUnit libraries to emulate browser-like black box beahviour (which good support for Javascript and XmlHttpRequests), Jetty as embedded servlet container to be instantiated during test set up, and Hsqldb as in-memory db where I would save and delete datas to execute my test methods in isolations.
Can someone give me some advices for the given scenario (maybe pointing to some resources), or even a suggestion for some better way to make in-container testing?