Module org.apache.wicket.tester
Package org.apache.wicket.util.tester
package org.apache.wicket.util.tester
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container. The only classes required by users to test are WicketTester
and FormTester
. WicketTester
extends MockWebApplication
and extends it with convenience methods to start (render) a page and to test (assert)
certain conditions.
FormTester
is a utility class to make unit testing an HTML form a breeze.
-
ClassDescriptionA helper class to ease unit testing of Wicket applications without the need for a servlet container.A page that is used as the automatically created page for
BaseWicketTester.startComponentInPage(Class)
and the other variations.This is a utility class.A dummy home page, as required byWicketTester
.A dummyPanel
Component.A helper class for testing validation and submission ofFormComponent
s.AResult
class.Tag tester is used to test that a generated markup tag contains the correct attributes, values etc.Base class for tests which require comparing wicket response with a file.A helper class to ease unit testing of Wicket applications without the need for a servlet container.ManagesWicketTester
instanceAWicketTester
-specific helper class.ComponentData
class.