Project Documentation

Welcome

JWebUnit is a Java-based testing framework for web applications. It wraps existing testing
frameworks such as HtmlUnit and Selenium with a unified, simple testing interface to allow
you to quickly test the correctness of your web applications.

What does JWebUnit provide?

JWebUnit provides a high-level Java API for navigating a web application combined with a set
of assertions to verify the application's correctness. This includes navigation
via links, form entry and submission, validation of table contents, and other
typical business web application features.

The simple navigation methods and ready-to-use
assertions allow for more rapid test creation than using only JUnit or HtmlUnit.
And if you want to switch from HtmlUnit to other plugins such as Selenium (available soon), there is no need to
rewrite your tests.

The current version of JWebUnit is 3.3. This is the "stable" version of
JWebUnit, and requires Java 1.7.

Using JWebUnit

To use JWebUnit you only need to download the latest release JARs
and include them into your project classpath. You may then test your web application
by importing JWebUnit static helpers, and running these test cases with JUnit: