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

Interface Summary
ITestPageSource A test Page factory for WicketTester
ITestPanelSource A test Panel factory for WicketTester.
TestPanelSource Deprecated.  
 

Class Summary
BaseWicketTester A helper class to ease unit testing of Wicket applications without the need for a servlet container.
BaseWicketTester.DummyWebApplication  
DummyHomePage A dummy home page, as required by WicketTester.
DummyPanelPage A dummy Panel Component.
ExternalPageViewer ExternalPageViewer class.
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.
WicketTester.DummyWebApplication Default dummy web application for testing.
WicketTester.NonPageCachingDummyWebApplication Dummy web application that does not support back button support but is cheaper to use for unit tests.
WicketTesterHelper A WicketTester-specific helper class.
WicketTesterHelper.ComponentData ComponentData class.
 

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 © 2004-2011 Apache Software Foundation. All Rights Reserved.