You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2010/03/27 03:45:23 UTC
Wicket page test 1.3 is now available
Dear all,
Wicket page test 1.3 is now available. It is a library allowing you
to unit test your Wicket pages easily, supporting AJAX and
Javascript without changes to your pages.
New features implemented in this version:
* Provide a generic starter page to launch another page whose
constructor needs some arguments.
* Provide a page navigator to inspect the arguments passed to the
response page.
* Easier way to open a page.
Get it from maven as described in http://wicketpagetest.sourceforge.net/
--
Author of books for learning CXF, Axis2, Wicket, JSF
(http://www.agileskills2.org)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket page test 1.3 is now available
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
If you want to compose test pages "on the fly", you should try also
mashupwebpage:
public void testSomeFieldComponent() {
Page page = new MashupWebPage();
Form form;
page.add(form = new MashUpForm(GID));
FormComponent customField;
form.add(customField = new CustomFieldToBeTested(GID));
tester.startPage(page);
FormTester formtester = tester.newFormTester(form.getPageRelativePath());
formtester.setValue(getRelativePath(form, customField), "test-value");
formtester.submit();
tester.assertNoErrorMessages();
}
http://code.google.com/p/wicket-mashup/
**
Martin
2010/3/27 Kent Tong <ke...@cpttm.org.mo>:
> Dear all,
>
> Wicket page test 1.3 is now available. It is a library allowing you
> to unit test your Wicket pages easily, supporting AJAX and
> Javascript without changes to your pages.
>
> New features implemented in this version:
>
> * Provide a generic starter page to launch another page whose
> constructor needs some arguments.
> * Provide a page navigator to inspect the arguments passed to the
> response page.
> * Easier way to open a page.
>
> Get it from maven as described in http://wicketpagetest.sourceforge.net/
>
> --
> Author of books for learning CXF, Axis2, Wicket, JSF
> (http://www.agileskills2.org)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org