I have played a little around with how to test rendered markup without having to do the somewhat fragile cached-markup-diff-thingy. I have committed a draft version of a TagTester which, based on the rendered markup, allows testing of specific tags without having to rely on the attributes being in the correct order etc. It is still just a draft and is expected to be expanded to include various ways of testing the markup.
The tagtester is in wicket.util.tester.TagTester and is used in (test) wicket.ajax.markup.html.form.AjaxSubmit(Button|Link)Test
How does this sound as a testing concept?
- Frank
------------------------------------------------------------------------- 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