Testing

Facebook Twitter

Javascript

Citrus. Arquillian. Cross Browser. HttpUnit ServletUnit Overview. As a testing tool, HttpUnit is primarily designed for "black-box" testing of web sites.

HttpUnit ServletUnit Overview

In many cases that may be all you need; however, if you are developing complex servlets, you may wish to test smaller pieces of your code. Sometimes you can isolate them into simple tests using only JUnit. In other cases, you will want to test in a servlet environment. At this point you have two basic approaches available.

JUnit

Atunit - Easy Java unit tests with mocks (JMock or EasyMock) and dependency injection (Spring or Guice) AtUnit minimizes boilerplate code in unit tests and guides test development by enforcing good practices. mark exactly one field with @Unit to indicate the object under test. mark fields with @Mock or @Stub to obtain mock objects inject your tests, and your test subjects, using your favorite IoC container Mock Objects Integration AtUnit integrates with JMock or EasyMock to provide mock objects: obtain a JMock context simply by declaring a field annotate fields with @Mock to obtain JMock or EasyMock mock objects annotate fields with @Stub to obtain a JMock or EasyMock stub object ... or you can use your own mock objects plug-in with two easy steps:

atunit - Easy Java unit tests with mocks (JMock or EasyMock) and dependency injection (Spring or Guice)

Sahi.

Mocking Tools

Selenium - Browser automation framework. Overview This is the site for developers of the Selenium browser automation framework.

selenium - Browser automation framework

If you're developing with the framework, please go to Selenium HQ. If you're a user of Selenium, and would like the latest documentation, please head over to Selenium HQ. Webdriver. Watir. Insanely fast, headless full-stack testing using Node.js. Terminus. Js-test-driver - Remote javascript console. Quick Navigation Release 1.3.4-a First Release of 2012, 1.3.4-a: Bugs and Fixes: fixed the reset on syntax error bug.

js-test-driver - Remote javascript console

Better error reporting when --preloadFiles is passed in.