JWebUnit iconJWebUnit 3.2

Open source Java-based framework for testing web applications
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, 22:03 GMT
file size:
12.6 MB
price:
FREE!
developed by:
Julien Henry
license type:
GPL 
operating system(s):
Mac OS X
binary format:
Universal Binary
category:
Home \ Developer Tools

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • 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

Add your review!

SUBMIT