I had a brief look at the WicketTester example. It's not something I would like to use for writing a functional regressing test. But I don't think WicketTester was meant for that in the first place, more as a TestCase helper. I suppose Wicket still needs more whitepapers, tutorials, books, articles, the lot. ;-)
At the end of the day a user receives html and javascript a point where it should be invisible wether this has been generated by either Wicket or plain vanilla Servlets. I have been looking at some test frameworks. I have no experience with either of them, but Canoo WebTest looks to what I had in mind. HttpUnit, written in Java, emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as JUnit, it is fairly easy to write tests that very quickly verify the functioning of a web site. ( ServletUnit, which is included in the HttpUnit download, makes it possible to test and develop servlets using the same techniques used to test web sites without a servlet container using ServletUnit. ) http://www.httpunit.org/ HtmlUnit is a java unit testing framework for testing web based applications. It is similar in concept to httpunit but is very different in implementation. Which one is better for you depends on how you like to write your tests. HttpUnit models the http protocol so you deal with request and response objects. HtmlUnit on the other hand, models the returned document so that you deal with pages and forms and tables. http://htmlunit.sourceforge.net/ Canoo WebTest is a tool for XP style acceptance testing of web applications. It calls web pages and verifies the result against expected properties. There are engines for both HttpUnit and HtmlUnit. Tests are described in terms of ANT scripts. Test reporting is done via XML/XSLT. Canoo also supports Groovy and is the de facto tool for Grails. http://webtest.canoo.com/ JWebUnit provides a high-level API for navigating a web application combined with a set of assertions to verify the application's correctness. This includes navigation via links, form entry and submission, validation of table contents, and other typical business web application features. JWebUnit 1.x is based on HtmlUnit. The dev 2.x also supports Selenium. http://jwebunit.sourceforge.net/ Any comments, ideas? -nilo P.S. Jython based but cool, and it actually works http://maxq.tigris.org/ -- View this message in context: http://www.nabble.com/-Wicket-user--Test-Frameworks-and-Wicket-tf3205798.html#a8902211 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user