JWebUnit 3.2

Open source Java-based framework for testing web applications

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in JWebUnit 3.2:

  • Updated to HtmlUnit 2.11. As a result JWebUnit now also require Java 1.6+.
  • Updated dependencies to not provide logback transitively. Added a section in documentation to explain how to use logback. Fixes 3476459.
  • getPageText() (and all related assertXX methods) now only deals with what is inside element. Previously it was also returning page title for example.
  • gotoRootWindow() now goes to the root "frame" in a multi-frame window. Previously it was only by chance.
Read full changelog
send us
an update
12.6 MB
Julien Henry
Home \ Developer Tools
JWebUnit is a Java framework that facilitates creation of acceptance tests for web applications. It evolved from a project where we were using JUnit  to create acceptance tests.

Also, one can have different testing engines. Currently, only HtmlUnit plugin is ready. Some work is in progress to use Selenium to execute tests.

As the tests were being written, they were continuously refactored to remove any duplication and other bad smells in the test code. JWebUnit is the final result of these refactorings.

JWebUnit provides a high-level 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.

This code try to stay independent of the libraries behind the scenes. The simple navigation methods and ready-to-use assertions allow for more rapid test creation than using only JUnit and HtmlUnit. And if you want to switch from HtmlUnit to the other soon available plugins, no need to rewrite your tests.

Last updated on March 30th, 2014

Runs on: Mac OS X (Universal Binary)

#test web app #java framework #test framework #test #framework #tester #web app

Add your review!