Tools

The following tools are mentioned at some point within this book. This section describes their purpose and how they relate to xUnit test automation in just a wee bit more detail.

Ant

A build automation tool used in the Java community. NAnt is the equivalent for .NET projects.

AntHill

A continuous integration tool used in the Java community.

BPT

A commercial Scripted Test tool that allows less technically advanced users to compose tests from reusable test components that are the result of Refactored Recorded Tests . It can also be used to specify reusable test components to be built by more technically oriented test automaters. More information can be found on Mercury Interactive's Web site. As this book went to press, Mercury Interactive was in the process of being acquired by Hewlett-Packard, so the URL may have changed.

Canoo WebTest

A framework for preparing Scripted Tests written in XML. Conceptually, Canoo WebTest is similar to Fit in that it allows us to define our own domain-specific testing language for defining customer tests. More information can be found at http://webtest.canoo.com and http://webtest-community.canoo.com .

Cruise Control

A continuous integration tool used in the Java community. Cruise Control.net is the equivalent for .NET projects.

DDSteps

A Data-Driven Test extension for JUnit. " DDSteps is a JUnit extension for building data driven test cases. In a nutshell, DDSteps lets you parameterize your test cases, and run them more than once using different data." See http://www.ddsteps.org for more information.

EasyMock

A static Mock Object generation toolkit for Java tests. Because EasyMock uses a Configuration Mode for specifying the expectations, the tests look a bit strange and may take a bit of getting used to. More information can be found at http://www.easymock.org .

eCATT

The Recorded Test tool that comes with SAP's development tools. More information can be found at http://www.sap.com and at http://www.sdn.sap.com .

Eclipse

A Java integrated development environment (IDE) and platform for rich client applications. Eclipse was originally created by IBM and is now managed by the Eclipse Foundation. Several of the language-specific plug-ins are integrated with the corresponding xUnit family member. For example, the Java IDE includes JUnit and the Ruby Development Tools IDE includes Test::Unit. Eclipse is available for download from http://www.eclipse.org .

Fit

The framework conceived by Ward Cunningham that made it possible for customers to write automated tests. Fit separates the work of defining the tests using tables in Web pages or spreadsheets from the programming work of exercising the SUT. While Fit was once a particular tool, it is now a specification for a family of tools implemented in a variety of languages, including Java, .NET, Ruby, and Python. Some members of the family are simply test execution frameworks; others, such as Fitnesse, include test authoring and versioning capabilities. All should implement the same set of standard fixtures. More information can be found at Ward's Web site ( http://fit.c2.com ) or in the book [FitB] he co-wrote with Rick Mudgridge.

FitNesse

A Fit test authoring tool conceived by (Uncle) Bob Martin of Object Mentor. FitNesse provides a wiki-like test authoring system with a set of predefined Fit fixtures that makes it possible for customers to write and run automated tests. More information can be found at http://www.fitnesse.org .

HttpUnit

A front end that layers on top of JUnit to allow tests to exercise a Web application via the HTTP protocol. HttpUnit bypasses the browser, so it is not suitable for use with applications that make extensive use of on-page scripting (e.g., AJAX). See http://httpunit.sourceforge.net for more information.

Idea

A Java IDE that offers rich support for refactoring. The Idea Web site [JBrains] contains fairly detailed descriptions of many of the refactorings. The same group also offers a very popular refactoring plug-in for Visual Studio, called ReSharper.

JFCUnit

A JUnit front end that layers on top of HttpUnit to allow tests to exercise a Web application via the HTTP protocol. JFCUnit provides a number of Test Utility Methods that form a Higher-Level Language for expressing tests of Web applications. Because it is a layer on top of HttpUnit, it bypasses the browser. Thus JFCUnit is not suitable for use with applications that make extensive use of on-page scripting (e.g., AJAX). See http://jfcunit.sourceforge.net for more information.

JMock

A widely used dynamic Mock Object framework for Java tests. The fluent Configuration Interface used for specifying the expectations makes the tests highly readable. More information can be found at http://www.jmock.org .

NMock

A widely used dynamic Mock Object framework for .NET tests. The fluent Configuration Interface used for specifying the expectations makes the tests highly readable. More information can be found at http://nmock.org .

QTP (QuickTest Professional)

A commercial Recorded Test tool that allows less technically advanced users to record tests as they use an application. In conjunction with the "Expert View" of the Recorded Tests, QTP can also be used to refactor the tests into reusable test components that are appropriate for use by less technically adept test automaters. More information can be found on Mercury Interactive's Web site. As this book went to press, Mercury Interactive was in the process of being acquired by Hewlett-Packard, so the URL has probably changed.

ReSharper

A refactoring plug-in for Visual Studio by JetBrains, the makers of the Idea IDE. Their Web site [JBrains] contains fairly detailed descriptions of many of the refactorings.

Visual Studio

Microsoft's integrated development environment intended for developing .NET applications software. Visual Studio comes in several versions (at various price points), some of which include MSTest and code/test refactoring support. Third-party plug-ins are also available for both refactoring (see [JBrains] ) and xUnit (see CsUnit, MbUnit, and NUnit).

Watir

"Web Application Testing in Ruby." This set of components allows us to drive Internet Explorer from Scripted Tests written in the Ruby programming language. More information can be found at http://wtr.rubyforge.org/ .