Testing

TwitterFacebook
Get flash to fully experience Pearltrees
http://code.google.com/p/hamcrest/

hamcrest - Hamcrest - library of matchers for building test expressions - Google Project Hosting

Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules.
http://www.dbunit.org/

DbUnit - About DbUnit

About DbUnit DbUnit is a JUnit extension (also usable with Ant) targeted at database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. DbUnit has the ability to export and import your database data to and from XML datasets.
The class com.gargoylesoftware.htmlunit.WebClient is the main starting point. This simulates a web browser and will be used to execute all of the tests. Most unit testing will be done within a framework like JUnit so all the examples here will assume that we are using that. In the first sample, we create the web client and have it load the homepage from the HtmlUnit website.

HtmlUnit - Getting Started with HtmlUnit

http://htmlunit.sourceforge.net/gettingStarted.html

HttpUnit Cookbook

http://httpunit.sourceforge.net/doc/cookbook.html The center of HttpUnit is the WebConversation class, which takes the place of a browser talking to a single site. It is responsible for maintaining session context, which it does via cookies returned by the server. To use it, one must create a request and ask the WebConversation for a response.
What is Selenium? Selenium automates browsers . That's it. What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. http://seleniumhq.org/

Selenium web application testing system