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.

See:
          Description

Class Summary
BaseWicketTester A helper class to ease unit testing of Wicket applications without the need for a servlet container.
BaseWicketTester.StartComponentInPage A page that is used as the automatically created page for BaseWicketTester.startComponentInPage(Class) and the other variations.
DiffUtil This is a utility class.
DummyHomePage A dummy home page, as required by WicketTester.
DummyPanelPage A dummy Panel Component.
FormTester A helper class for testing validation and submission of FormComponents.
Result A Result class.
TagTester Tag tester is used to test that a generated markup tag contains the correct attributes, values etc.
WicketTester A helper class to ease unit testing of Wicket applications without the need for a servlet container.
WicketTesterHelper A WicketTester-specific helper class.
WicketTesterHelper.ComponentData ComponentData class.
WicketTesterScope Manages WicketTester instance
 

Package org.apache.wicket.util.tester Description

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.



Copyright © 2006–2017 Apache Software Foundation. All rights reserved.