做最好的自己!

Be your personal BEST!
 
« 上一篇: The benefits of automated unit testing(转摘) 下一篇: AutoCAD 快捷键大全 »
toroya @ 2006-10-25 10:18

Unit Test Tools

These tools, frameworks, and libraries support unit testing, which is usually performed by the developer, usually using interfaces below the public interfaces of the software under test.

Current Listings

   

Tools Listed Elsewhere

These tools fit better into a different category, but are worth mentioning here as well. Their main listing is in the other category.

Rational Test RealTime Unit Testing

Kind of Tool
Rational Test RealTime's Unit Testing feature automates C, C++, Ada 83 and 95 software component testing.
Organization
IBM Rational Software
http://www.rational.com/
Software Description
Rational Test RealTime Unit Testing performs black-box/functional testing, i.e. verifies that all units behave according to their specifications without regard to how that functionality is implemented. The Unit Testing feature has the flexibility to naturally fit any development process by matching and automating developers' and testers' work patterns, allowing them to focus on value-added tasks. Rational Test RealTime is integrated with native development environments (Unix and Windows) as well as with a large variety of cross-development environments. Find out more about Rational Test RealTime at: http://www.rational.com/products/testrt/index.jsp
Platforms
Rational Test RealTime is available for most development and target systems including Windows, Unix (Solaris, HP-UX, Linux)

Entry updated January 31, 2002
Return to Listings


C++Test

Kind of Tool
A C/C++ unit testing tool that automatically tests any C/C++ class, function, or component.
Organization
ParaSoft Corporation
http://www.parasoft.com/

Entry added April 4, 2001.
Return to Listings


JUnit

Kind of Tool
A regression testing framework used by developers who implement unit tests in Java. (freeware)
Organization
JUnit.org
E-mail: junit@objectmentor.com
http://www.junit.org/
Software Description
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
Platforms
Platforms running Java.

Entry added April 25, 2001.
Return to Listings


AQtest

Kind of Tool
Automated support for functional, unit, and regression testing
Organization
AutomatedQA Corp.
http://www.automatedqa.com/
Software Description
AQtest automates and manages functional tests, unit tests and regression tests, for applications written with VC++, VB, Delphi, C++Builder, Java or VS.NET. It also supports white-box testing, down to private properties or methods. External tests can be recorded or written in three scripting languages (VBScript, JScript, DelphiScript). Using AQtest as an OLE server, unit-test drivers can also run it directly from application code. AQtest automatically integrates AQtime when it is on the machine. Entirely COM-based, AQtest is easily extended through plug-ins using the complete IDL libraries supplied. Plug-ins currently support Win32 API calls, direct ADO access, direct BDE access, etc.
Platforms
Windows 95, 98, NT, or 2000

Entry updated June 13, 2001.
Return to Listings


JsUnit (Hieatt)

Kind of Tool
JavaScript unit testing framework (freeware)
Organization
Edward Hieatt
E-mail: edward@jsunit.net
http://www.jsunit.net/
Software Description
JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript. It is essentially a port of JUnit to JavaScript.

Licensed under the GNU Public License 2.0, GNU Lesser Public License 2.1, and the Mozilla Public License 1.1

Platforms
Platforms supporting JavaScript 1.4 or higher.

Entry updated April 11, 2003.
Return to Listings


MinUnit

Kind of Tool
Minimal Unit Testing Framework for C (freeware)
Organization
Jera Design
E-mail: jbrewer@jera.com
http://www.jera.com/techinfo/jtns/jtn002.html
Software Description
A minimal unit testing framework for C. It doesn't use malloc, so it may be more suitable for certain kinds of embedded systems.
Platforms
Any platform with an ANSI C compiler.

Entry updated May 21, 2002.
Return to Listings


TBGEN

Kind of Tool
Ada test harness generator, unit/integration testing environment
Organization
Testwell Oy
http://www.testwell.fi/tbgdesc.html
Software Description
TBGEN (Test Bed Generator for Ada'83) generates test driver (and stubs, if needed), which are compiled with the units under test resulting in a test bed program. Using Ada-like command language the test bed facilitates specification-based (black-box) unit and integration testing. Both interactive and script-based tests are supported. The work becomes automated, effective, intuitive, visible, documented, standardized, measurable. Can be used with GNAT Ada compiler.
Platforms
Windows-2000/NT/9x, VAX/VMS, Solaris. Ask also for source code licensing (written in 'vanilla' Ada'83). On a given platform independent of the used Ada compiler.

Entry updated April 23, 2001.
Return to Listings


CTB

Kind of Tool
C test harness generator, unit/integration testing environment
Organization
Testwell Oy
http://www.testwell.fi/
Software Description
CTB (C Test Bed System) generates test driver (and stubs, if needed), which are compiled with the units under test resulting in a test bed program. The test bed building can be incremental and arranged on "as needed" basis using makefiles. Using C-like command language the test bed facilitates specification-based (black-box) unit and integration testing. Both interactive and script-based tests are supported. The work becomes automated, effective, intuitive, visible, documented, standardized, measurable. Read more from http://www.testwell.fi/ctbdesc.html
Platforms
Windows 2000/NT/9x, HPUX, Solaris, Linux.

Entry updated April 23, 2001.
Return to Listings


OTF - An Object Testing Framework

Kind of Tool
Testing Framework for Smalltalk Objects
Organization
MCG Software, Inc.
320 NW Uptown Terrace, #1A
Portland, OR 97210
Phone: (503) 827-3933
FAX: (503) 827-3934
E-mail: info@mcgsoft.com
http://www.mcgsoft.com/
Software Description
OTF is an easy--to-use framework for the developing; editing, keeping, sharing and running suites of tests for Smalltalk objects. Regression testing is automatic with full logging of results. Tests may be looped and conditional code executed for stress testing. While OTF focuses on testing modeling objects, there is also a simple mechanism for testing user interfaces. Extensions are easily added to OTF to expand OTF functionality and tailor OTF to site requirements. OTF is available on all the major Smalltalks.
Platforms
Windows, OS/2, & Unix via Visual Smalltalk; Visual Smalltalk Enterprise; Visual Works; Visual Age

Return to Listings


VectorCAST

Kind of Tool
Software Module Test System
Company
Vector Software, Inc.
1130 Ten Rod Road, E-307
North Kingstown, RI 02852
Phone: 401-295-5855
Fax: 401-295-5856
E-mail: info@vectors.com
http://www.vectors.com/
Software Description
VectorCAST is a software module test system that automates the testing of individual software components prior to system test. Automation includes: building of complete test harnesses, generation and execution of test cases, code coverage, and pass/fail reports. VectorCAST is customized to the target CPU, cross compiler and run-time environments for leading embedded development tools from: Wind River Systems, Green Hills, TI, Rational, Cosmic, Tasking, Mentor Graphics, Analog Devices, and MetaWare.
Platforms
IBM RS/6000(AIX), HP (HP/UX), Linux (Red Hat, Hard Hat & SuSE), Sun (Solaris and SunOS), and Windows (95/NT/2000)

Entry updated January 13, 2003.
Return to Listings


CTA++

Kind of tool
C++ test harnessing tool, unit/integration testing
Organization
Testwell Oy
Hermiankatu 8
FIN-33720 Tampere
Finland
Phone: +358-3-316-5464
FAX: +358-3-359-9660
E-mail: info@testwell.fi
http://www.testwell.fi
Software Description
CTA++ (C++ Test Aider) is a tool for unit testing C++ classes, libraries and subsystems. CTA++ facilitates effective testing characterized as: easy-to-use and powerful arrangement to model the test suite into test cases, various forms of assertions for automating the test result checking, clear PASS/FAIL reporting on test cases and the whole test session, making the test runs visible, compact HTML browsable reporting of test results, regression testing, reading actual and expected values from command line or from compact textual data files, support for stub functions, reusing test cases of base class when testing inherited classes, testing multi-threaded code, testing all the advanced features of C++ (inheritance, overloading, exceptions, private parts, etc.), and more. Read more from http://www.testwell.fi/ctadesc.html
Platforms
Windows-2000/NT/9x, Solaris, HPUX, Linux

Entry updated April 23, 2001.
Return to Listings


Test Mentor - Java Edition

Kind of Tool
Java component, unit and function test automation
Organization
SilverMark, Inc.
www.javatesting.com/
Software Description
A functional test and test modeling tool for Java developers & QA Engineers to use as they develop their Java classes, clusters, subsystems, frameworks, and other components, either deployed on the client or the server during unit and i ntegration testing.
Platforms
Client (user-interface) runs on Windows platforms only, test execution on al l Java platforms

Entry added January 8, 2001.
Return to Listings


Aunit

Kind of Tool
Ada unit testing framework (freeware)
Organization
ACT Europe
8 rue de Milan
75009 Paris
France
Phone: +33 1 49 70 67 16
Fax: +33 1 49 70 05 52
E-mail: sales@act-europe.fr
http://libre.act-europe.fr/aunit/
Software Description
AUnit is a set of Ada packages based on the xUnit family of unit test frameworks. It's intended as a developer's tool to facilitate confident writing and evolution of Ada software. It is purposely lightweight, as one of its main goals is to make it easy to develop and run unit tests, rather than to generate artifacts for process management. The framework supports easy composition of sets of unit tests to provide flexibility in determining what tests to run for a given purpose.
Platforms
Unix, Windows

Entry updated April 9, 2003.
Return to Listings


Kind of Tool
A unit test framework for C (freeware)
Organization
SourceForge
http://check.sourceforge.net/
Software Description
Check features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.

Check was inspired by similar frameworks that currently exist for most programming languages; the most famous example being JUnit for Java.

Licensed under the GNU LGPL.

Platforms
POSIX-compliant systems.

Entry updated April 9, 2003.
Return to Listings


Kind of Tool
C++ unit test tool (freeware)
Organization
SourceForge
http://cppunit.sourceforge.net/
Software Description
CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML or text format for automatic testing and GUI based for supervised tests.

Licensed under the GNU LGPL.

Platforms
BeOS, MacOS, Windows, Linux, possibly others.

Entry updated April 9, 2003.
Return to Listings


Kind of Tool
"Complete Solution Unit Testing" for Microsoft .NET (freeware)
Organization
csUnit.org
E-mail: info@csunit.org
http://www.csunit.org/
Software Description
csUnit is a unit testing framework for the Microsoft .NET Framework. It targets test driven development using .NET languages such as C#, Visual Basic .NET, Visual J# and managed C++.

Licensed under the GNU GPL.

Platforms
Microsoft Windows

Entry updated July 22, 2003.
Return to Listings


Kind of Tool
C unit testing framework (freeware)
Organization
Christian Holmboe
E-mail: spotty@codefactory.se
http://people.codefactory.se/~spotty/cunit/
Software Description
cUnit is my first attempt to make a unit testing framework for the C programming language. It helps a developer to organize and run automated tests of his/her C source code. I wrote this so that I could try the CodeUnitTestFirst approach while developing C programs. cUnit is very simple and only has a few features:
  • Test suites for organizing tests and test suites
  • Unit test context management (setup/teardown)
  • Convenient running and listing of tests and test suites
Platforms
Gnu/Linux

Entry updated April 9, 2003.
Return to Listings


Kind of Tool
C Unit Test System (freeware)
Organization
SourceForge
http://cut.sourceforge.net/cgi-bin/piki
Software Description
CUT is a tool to help programmers develop ProgrammerTests for their C-based software. CUT can be used to help test C, C++, Objective-C, and depending on the run-time environment, even assembly language software. CUT can be used with most operating systems, and is entirely processor independent. CUT is ideal for embedded software testing frameworks and full-blown desktop application testing alike.

Licensed under the zlib/libpng License.

Platforms
Linux, Windows

Entry updated April 9, 2003.
Return to Listings


Kind of Tool
Unit test framework for .net (freeware)
Organization
Christian Sepulveda
E-mail: csepulv@atdesigntime.com
http://dotunit.sourceforge.net/
Software Description
dotunit is a port of JUnit to the Microsoft .net platform. This testing framework allows for automated unit and functional tests which are vital for refactoring and regression testing.

Distributed under the BSD license.

Platforms
Windows

Entry updated April 10, 2003.
Return to Listings


Kind of Tool
A class library that provides an easy way to use mock objects for given interfaces. (freeware)
Organization
OFFIS
http://www.easymock.org/
Software Description
Unit testing is the testing of software units in isolation. However, most units do not work alone, but they collaborate with other units. To test a unit in isolation, we have to simulate the collaborators in the test.

Mock Objects are test-oriented replacements for concrete implementations. They are configured to simulate the object they replace in a simple way. In contrast to stubs, they also verify whether they were used correctly.

Made available under the terms of the MIT license.

Platforms
Platforms supporing Java and JUnit.

Entry updated April 10, 2003.
Return to Listings


Kind of Tool
Unit test tool for Java (freeware)
Organization
Tim Lavers
http://grandtestauto.org/
Software Description
GrandTestAuto is a tool for unit testing applications written in Java. GrandTestAuto automatically runs all unit tests for an application and at the same time checks that the unit tests provide sufficient coverage.

GrandTestAuto is free for use and modification under the terms of the Wide Open License.

Platforms
Platforms supported by JDK1.4.

Entry updated April 11, 2003.
Return to Listings


Kind of Tool
Java unit testing framework for web applications (freeware)
Organization
Gargoyle Software
Phone: 416-822-0973
Fax: 416-822-0975
http://htmlunit.sourceforge.net/
Software Description
HtmlUnit is a java unit testing framework for testing web based applications. It is similar in concept to httpunit but is very different in implementation. Which one is better for you depends on how you like to write your tests. HttpUnit models the http protocol so you deal with request and response objects. HtmlUnit on the other hand, models the returned document so that you deal with pages and form and tables.

Released under an apache style license

Platforms
Platforms that run Java.

Entry updated April 11, 2003.
Return to Listings


Kind of Tool
Java API for accessing web sites without a browser (freeware)
Organization
Russell Gold
E-mail: russgold@httpunit.org
http://httpunit.sourceforge.net/
Software Description
The normal way to access web sites is via a browser; however, there are times when it is desirable to bypass the browser and access a site from a program, including:
  • automated web site testing
  • using a web-site as part of a distributed application

HttpUnit makes this easy. Written in Java, HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links.

Distributed under the MIT license.

Platforms
Platforms that support Java.

Entry updated April 11, 2003.
Return to Listings


Kind of Tool
JavaScript unit testing framework (freeware)
Organization
Daniel Fournier
E-mail: zenon48@users.sourceforge.net
http://jsassertunit.sourceforge.net/
Software Description
JavaScript unit testing framework.

Licensed under the GNU GPL.

Platforms
Platforms supporting Javascript.

Entry updated April 11, 2003.
Return to Listings


Kind of Tool
Data-driven testing add-on for JUnit (freeware)
Organization
Yuqing Wang
http://jtestcase.sourceforge.net/
Software Description
JUnit test framework provides an excellent way to formalize your test code. But due to its "none-input-param, none-return" design, generally you need to hard-code all test data for each testing method. And for each test cases of one unit test, you need to change test code, recompile it, and run it.

JTestCase is an open-sourced project that helps you in separating test data from test code. You can organize all your test cases of multiple unit tests into one data file - an XML file, and bulk-load them into memory via sets of easy-to-use APIs that JTestCase provides.

In a word, JTestCase provides a way for java unit tests to be test-case-oriented and full-test-automatable.

Licensed under the Common Public License Version 0.5.

Platforms
Platforms supporting Java.

Entry updated April 11, 2003.
Return to Listings


Kind of Tool
JUnit extension module (freeware)
Organization
Extreme Java
E-mail: andreas.heilwagen@acm.org
http://www.extreme-java.de/junitx/
Software Description
Module for testing private and protected Java classes, methods and variables.
Platforms
Platforms supported by Java.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for Macromedia Director. (freeware)
Organization
Koseki Kengo
E-mail: kengo@tt.rim.or.jp
http://sourceforge.net/projects/lingounit/
Software Description
LingoUnit is a Unit Testing framework for Macromedia Director. Most of this framework is based on JUnit.
Platforms
Requires Macromedia Director 8.5.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
A program for creating source code for mock object classes (freeware)
Organization
Matthew Cooke
E-mail: mpcooke3@hotmail.com
http://www.mockmaker.org/
Software Description
Given an interface, MockMaker writes the source code for a mock object class that implements the interface and allows instances of that class to have expectations set about how many times a method is called, what parameters each method is called with, and to pre-set return values for methods. In many cases (possibly most cases), the classes produced by MockMaker are exactly what you want a mock class to do.

MockMaker is released under the MIT License.

Platforms
MockMaker has been tried on Windows 98 using Sun's JDK1.3, and should work with other versions of Java > 1.1.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Framework for developing unit tests in the mock object style (freeware)
Organization
Mock Objects
http://www.mockobjects.com/
Software Description
Unit testing is a fundamental practice in Extreme Programming, but most nontrivial code is difficult to test in isolation. You need to make sure that you test one feature at a time, and you want to be notified as soon as any problem occurs. Normal unit testing is hard because you are trying to test the code from outside.

We propose a technique called Mock Objects in which we replace domain code with dummy implementations that both emulate real functionality and enforce assertions about the behaviour of our code. These Mock Objects are passed to the target domain code which they test from inside, hence the term endo-testing. Unlike conventional testing techniques, however, in endo-testing assertions are not left in production code but gathered together in unit tests.

Distributed under The Apache Software License.

Platforms
Platforms supported by Java.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Mock Object generator for Java (freeware)
Organization
Montreal Extreme Programming Users Group
http://mockry.sourceforge.net/
Software Description
Mockry is a tool to create mockobjects. MockObjects are used to help developers to automate their unit tests. This project has been initiated by the Montreal's XP users group.

Distributed under the BSD License.

Platforms
Platforms supported by Java.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Generates mock objects from Java Interfaces. (freeware)
Organization
abstrakt gmbh
Henriettenstrasse 73
20259 Hamburg
Germany
Phone: +49-40-398 04 630
E-mail: info@abstrakt.de
http://www.abstrakt.de/mockcreator.html
Software Description
Mock Creator was developed by Christian Junghans at abstrakt. It is used to generate mock objects from Java Interfaces.

Distributed under the GNU GPL and the GNU LGPL.

Platforms
MockCreator is available for: Visual Age for Java 4.0, Eclipse 2.0, Commandline (and other IDEs)

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
A unit-testing framework for all .Net languages. (freeware)
Organization
Nunit.org
http://www.nunit.org/
Software Description
An xUnit based unit testing tool for Microsoft .NET. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. NUnit brings xUnit to all .NET languages.

Distributed under the zlib/libpng License.

Platforms
Microsoft .NET

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for Objective-C on Mac OS X (freeware)
Organization
Oops AB
Gullbringa 130
SE-442 95 H錶ta
Sweden
Phone: +46 (0)303 24 79 00
Fax: +46 (0)303 24 79 09
E-mail: info@oops.se
http://oops.se/objcunit/
Software Description
Formerly called O2Unit, ObjcUnit is a unit testing framework for Objective-C on Mac OS X. It's design was copied from JUnit, written by Erich Gamma and Kent Beck, and then adapted somewhat for Objective-C.
Platforms
Mac OS X

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Testing framework for Objective C (freeware)
Organization
Sen:te
Petit-Ch阯e 18 ter
CH-1003 Lausanne
Switzerland
Phone: + 41 21 693 83 83
E-mail: feedback@sente.ch
http://www.sente.ch/software/ocunit/
Software Description
With OCUnit, testing becomes integrated with development. You can test frameworks, bundles, or applications.

This Objective C testing framework is a based on SUnit, Kent Beck's Smalltalk unit testing framework, also available for Java under the name JUnit, and is distributed as open source.

Platforms
Mac OS X, Mac OS X Server, YellowBox/Cocoa and WebObjects environments

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for the Palm device (freeware)
Organization
Yutaka Kato
E-mail: ycatoo@eirene.dricas.com
http://www.geocities.co.jp/SiliconValley-SanJose/7344/PalmUnit/README-en.html
Software Description
A port of CppUnit to the Palm platform.

Licensed under the GNU GPL.

Platforms
Palm

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit test framework for PowerBuilder (freeware)
Organization
John Urberg
E-mail: pbunit@yahoo.com
http://www.geocities.com/pbunit/
Software Description
PBUnit is PowerBuilder 8.0 port of JUnit 2.1 which was originally implemented by Kent Beck and Erich Gamma.

Distributed under the Common Public License.

Platforms
PowerBuilder 8.0

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit test framework for Perl (freeware)
Organization
Adam Spiers
http://perlunit.sourceforge.net/
Software Description
This project has been set up to unify perl unit testing frameworks for use in Extreme Programming.
Platforms
Platforms supported by Perl

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for PHP (freeware)
Organization
Daniel Fournier
http://jsassertunit.sourceforge.net/docs/phpassertunit.html
Software Description
A unit testing framework based on jsAsserUnit. It's a kind of wrapper of the assertion methods found in jsAsserUnit. So it provides the same functionalities, but in a PHP development environment.
Platforms
Platforms supported by PHP.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Testing framework for PHP (freeware)
Organization
Fred Yankowski
E-mail: fred@ontosys.com
http://phpunit.sourceforge.net/
Software Description
Provides a testing framework for PHP, similar to JUnit for Java.
Platforms
Platforms supported by PHP.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for Python (freeware)
Organization
Steve Purcell
http://pyunit.sourceforge.net/
Software Description
This unit testing framework, dubbed 'PyUnit' by convention, is a Python language version of JUnit. JUnit was written by smart cookies Kent Beck and Erich Gamma, and is, in turn, a Java version of Kent's Smalltalk testing framework.

Provides a standard, proven, simple and elegant way to write unit tests for Python software. GUI also provided.

Platforms
Platforms supported by Python.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for C++ with Qt (freeware)
Organization
UWYN
Lambermontlaan 148
B-1030 Brussels
Belgium
Phone: +32 (0)2 245 41 06
http://www.uwyn.com/projects/qtunit/
Software Description
QtUnit is a unit testing framework for C++, originally based on CppUnit 1.5 written by Michael Feathers. All code has been refactored and ported to exclusively use Qt 3.x as it base library. This makes it highly portable to all the platforms supported by Qt, without compromising on the advanced features that are currently expected from modern software (Qt is a trademark of Trolltech AS).

Licensed under the GNU GPL.

Platforms
Platforms supported by the Qt library.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Unit testing framework for the Ruby programming language (freeware)
Organization
Nathaniel Talbott
E-mail: testunit@talbott.ws
http://testunit.talbott.ws/
Software Description
A framework for unit testing in Ruby, helping you to design, debug and evaluate your code by making it easy to write and have tests for it.
Platforms
Platforms supported by Ruby.

Entry updated April 22, 2003.
Return to Listings


Kind of Tool
Mock objects for Ruby (freeware)
Organization
Nat Pryce
E-mail: nat.pryce@b13media.com
http://www.b13media.com/dev/ruby/mock.html
Software Description
Ruby/Mock is a package that makes it easy to implement Mock Objects in RubyUnit test cases. It provides a generic Mock class that can be used to create mock objects for any interface. A test uses closures to define the expectations of a mock object. Tests can also encapsulate protocols into reusable mock-object classes.

Licensed under the GNU GPL.

Platforms
Platforms supported by Ruby.

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
Unit testing framework for Smalltalk (freeware)
Organization
Camp Smalltalk

http://sunit.sourceforge.net/
Software Description
SUnit is the mother of all xUnit testing frameworks, and serves as one of the cornerstones of test-driven development methodologies such as eXtreme Programming.
Platforms
Platforms supported by Smalltalk

Entry updated April 23, 2003.
Return to Listings


TagUnit

Kind of Tool
Tag library for testing custom tags within JSP pages. (freeware)
Organization
Simon Brown
http://www.tagunit.org/
Software Description
In the same way that JUnit allows us to write unit tests for Java classes, TagUnit allows us to unit test JSP custom tags, inside the container.

TagUnit provides a way to perform assertions on the content that custom tags generate and the side-effects that they have on the environment such as the introduction of scoped (request/page/session/application) attributes, cookies and so on. In addition to this, assertions can be made on the constraints specified within the tag library descriptor file that give us a way to verify the contract that a tag provides.

TagUnit is distributed under a BSD style license.

Platforms
Java 2 Standard Edition, SDK 1.2 or above, JavaServer Pages (JSP) 1.2 compatible web or application server such as Jakarta Tomcat 4.0 and above

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
JUnit extension for running tests inside an application server (freeware)
Organization
junitee.org
http://www.junitee.org/
Software Description
JUnitEE provides a TestRunner which outputs HTML and a servlet which can be used as an entry point to your test cases. Building your test harness as a standard J2EE web application means:
  • Your tests are packaged conveniently into a .war file which can easily be moved between servers; you can leave the .war file in the main .ear file and simply avoid enabling the test web application on the production server.
  • Your test classes will be dynamically reloaded by the app server (assuming your server supports this).
  • Your test cases look just like your production code, and can use the same beans (or whatever) you use as a facade for your EJBs.
Platforms
Platforms supported by Java.

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
C++ unit testing framework (freeware)
Organization
Claus Dr鎎y
http://unitpp.sourceforge.net/
Software Description
Unit++ is a C++ unit testing framework similar to junit, yet intended to be more C++ like than CppUnit (the C++ port of junit).

Licensed under the GNU GPL.

Platforms
Platforms supported by C++. Seems to be developed primarily on Linux.

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
Unit test tool for Visual Basic and COM objects. (freeware)
Organization
ShareIt!
Element 5 AG
Vogelsanger Str. 78
50823 Cologne
Germany
Phone: +49-221-31088-20
Fax: +49-221-31088-29
E-mail: support@shareit.com
http://www.vbunit.com/
Software Description
The free version of vbUnit3. Open source and free of charge. This package includes:
  • vbUnit3 Framework with complete source code and unit tests
  • vbUnit2 TestRunner with source code
  • full documentation including the vbUnit3 tutorial
  • project and class templates
Platforms
vbUnit3 requires an existing installation of Visual Basic 6.0 with Visual Studio Service Pack 5 to work correctly. vbUnit3 has been tested to function correctly on the following operating systems: Windows 98 Second Edition, Windows NT4 with Service Pack 6, Windows 2000 with Service Pack 2.

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
JUnit-style testing for XML (freeware)
Organization
Tim Bacon
E-mail: timbacon@users.sourceforge.net
http://xmlunit.sourceforge.net/
Software Description
XMLUnit enables JUnit-style assertions to be made about the content and structure of XML. It is an open source project that grew out of a need to test a system that generated and received custom XML messages.
Platforms
Platforms supported by Java.

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
Unit testing framework for XSLT transformations (freeware)
Organization
Eric van der Vlist
E-mail: vdv@dyomedea.com
http://xsltunit.org/
Software Description
The purpose of XSLTunit is to provide a unit testing framework for XSLT transformations similar to the "*unit" environments available for other languages (i.e. Junit for Java).

Although not a general purpose programming language, XSLT is turing complete and allows to develop powerful (and complex) transformations that deserve unit testing.

Platforms
EXSLT compliant XSLT processor (such as Saxon, libxslt, 4xslt, Xalan-J, ...)

Entry updated April 23, 2003.
Return to Listings


Kind of Tool
JavaScript unit test framework (freeware)
Company
J鰎g Schaible
E-mail: joehni@mail.berlios.de
http://jsunit.berlios.de/
Software Description
JsUnit is a simple framework to write repeatable tests in JavaScript. It is an instance of the xUnit architecture for unit testing frameworks. JsUnit is a port of JUnit 3.8.1 originally written by Erich Gamma and Kent Beck. It covers the core system and the examples.

Licensed under the GNU GPL.

Platforms
ECMA implementations that support exceptions.

Entry updated April 11, 2003.
Return to Listings


Kind of Tool
Perl extension for emulating troublesome interfaces (freeware)
Organization
chromatic
E-mail: chromatic@wgz.org
http://search.cpan.org/~chromatic/Test-MockObject/
Software Description
Testing is a lot easier when you can control the entire environment. With Test::MockObject, you can get a lot closer.

Test::MockObject allows you to create objects that conform to particular interfaces with very little code. You don't have to reimplement the behavior, just the input and the output.

Platforms
Platforms supported by Perl.

Entry updated April 24, 2003.
Return to Listings


Kind of Tool
Unit testing software for all aspects of .NET development
Organization
United Binary, LLC.
http://www.unittesting.com/
Software Description
HarnessIt is a unit testing software for the Microsoft.NET languages. Designed from the ground up for the .NET Framework, HarnessIt takes full advantage of language innovations provided by .NET to create a simpler, more flexible unit testing framework.
Platforms
Windows (All), .NET Framework 1.0 and up

Entry updated May 21, 2003.
Return to Listings


Kind of Tool
Tests Microsoft Component Technologies with writing a single line of code
Company
iUnitTest
Unit 47
24-28 St Leonards Road
Windsor
Berkshire
SL4 3BB
United Kingdom
Phone: +44 1753 669 340
Fax: +44 1753 669 341
E-mail: sales@iunittest.co.uk
http://www.iunittest.co.uk/
Software Description
COMPUTE is a software tool for unit testing Microsoft COM, MTS, COM+ and .NET components. Simply load your component into COMPUTE, enter your test data and call your methods/transactions. Test data can be compiled into test scripts and re-tested as often as you like. Just think, no more test harnesses, constantly entering data and recording the results. Its features include:
  • No Coding Required!
  • No More Test Harnesses!
  • Simulate real life load, performance and stress testing with its virtual client support.
  • Consistent, easy to use User Interface for all your components.
  • Supports Regression Testing and even migrates Test Data from different versions of components.
  • Test Results are automatically recorded and retrieved instantly.
  • All Test Scripts, Test Data and Test Results is kept as XML.
  • Automatically creates Documentation.
  • Uses XSL to customise Documentation to your standards.
  • Documentation conforms to to IEEE 1008-1987.
  • Unit Test Process follows existing standards.
  • Powerful Object and Parameter Referencing features.
  • Drag and Drop .NET Component support.
  • One Dimensional and Two Dimensional Array Support.
  • Supports interactive debugging of your components while COMPUTE executes your Test Script. Works with VB, VC++ and VS.NET debuggers.
  • Supports COM and .NET Collections (including ArrayList, HashTable, Queue, SortedList, Stack and StringCollection).
Platforms
Windows NT, 2K and XP

Entry updated November 24, 2002.
Return to Listings


Kind of Tool
Automated Unit Test tool
Organization
LDRA
http://www.ldra.co.uk/tbrun_moreinfo.asp
Software Description
TBrun utilises the powerful static and dynamic analysis facilities of the LDRA tool suite to provide a sophisticated, fully automated, unit test solution. TBrun automatically generates test harnesses for the unit under test and, in so doing, saves time, frees up highly qualified staff, increases test efficiency and improves motivation to test through a repeatable, less error-prone process.

Features of TBrun include:

  • Automatically generates test drivers/harnesses (wrapper code)
  • Runs tests on code units
  • Automatic test vector generation
  • Detects changes in source code and documents changes required in tests
  • Performs regression tests
  • Maintains test data and results
  • Easy to use graphical interface
  • Command line mode for automation
  • Interactive testing with immediate result checking and coverage metrics
  • Detailed knowledge of code not needed
  • Tests stored for easy regression
  • Essential for C/C++, C#, Ada83, Ada95, Java & VB.net unit testing
Platforms
Windows 9x/NT/2000/XP and Unix. Also available for any host / target environment.

Entry updated January 6, 2005.
Return to Listings


Cantata++

Kind of Tool
Test Driver, Code Coverage Analyzer and Static Metrics for C, C++, and EC++
Company
IPL
http://www.ipl.com/tools
Software Description
Cantata++ has been designed around the requirements of the C/C++ languages to produce a tool which allows developers to efficiently perform unit and integration testing. The product offers high productivity and a unique set of testing, coverage analysis and static analysis features. Cantata++ is the market leader in its class, and has been used in the development of high-integrity software worldwide.

Cantata++ V5 is due for release in September 2006. This version is built on Eclipse and features many new productivity enhancers.

Major features:

  • Unit and Integration testing: on both host and target platforms
  • Integrated Coverage Analysis: statement, decision, MC/DC, entry point and call-return metrics
  • Full support for: ANSI C, ISO C++ and EC++
  • GUI: Graphical results analysis and wizard-driven test preparation
  • Object Oriented: OO-aware testing and coverage analysis
  • Wrapping and Stubbing: to simulate and control external interfaces
  • Static Analysis: code complexity and size metrics
  • Automated test script generation with option to stub/wrap all external calls for simulation
  • Automated global data update/corruption checks
  • Memory leak and buffer overflow detection (MemProbes)
Platforms
Windows, Unix, Linux and most target environments

Entry updated August 23, 2006
Return to Listings


AdaTEST 95

Kind of Tool
Test Driver, Code Coverage Analyzer and Static Metrics for Ada
Company
IPL
http://www.ipl.com/tools
Software Description
AdaTEST 95 has been designed around the requirements of the Ada language to produce a tool which allows developers to efficiently perform unit and integration testing. The product offers high productivity and a unique set of testing, coverage analysis and static analysis features. AdaTEST 95 is the market leader in its class, and has been used in the development of high-integrity and safety-critical software worldwide.

Major features:

  • Unit and Integration testing: on both host and target platforms
  • Integrated Coverage Analysis: statement, decision, MC/DC, entry
  • point and call-return metrics
  • Full support for: Ada 95, Ada 83 and several Ada subsets
  • GUI: Graphical wizard-driven test preparation
  • Object Oriented: OO-aware testing
  • Stubbing: to simulate and control external interfaces
  • Static Analysis: code complexity and size metrics
Platforms
Windows, Unix, Linux and most target environments

Entry January 14, 2005.
Return to Listings


.TEST

Kind of Tool
Automatic Static Analysis & Unit Testing for .NET
Organization
ParaSoft Corporation
http://www.parasoft.com/
Software Description
Parasoft .TEST is an automated unit testing and static analysis tool for the Microsoft(r) .NET Framework that analyzes assembly code of tested assemblies and, based on gathered information, performs different types of analysis to help prevent errors. It works with any programming language that targets the .NET Framework, including Microsoft Visual C# .NET, Visual Basic .NET, and managed Visual C++ .NET.
Platforms
TEST runs on the Windows NT, Windows 2000 or Windows XP operating systems and works with Microsoft Visual Studio .NET.

Entry updated May 28, 2003.
Return to Listings


SimpleTest

Kind of Tool
Unit tester and web tester for PHP (freeware)
Organization
Last Craft
http://www.lastcraft.com/simple_test.php
Software Description
Unit tester, mock objects and web tester for PHP. Similar to JUnit, JWebUnit and JMock.
Platforms
Platforms suported by PHP

Entry updated March 2, 2004.
Return to Listings


DUnit

Kind of Tool
xUnit Testing Tool (freeware)
Organization
DUnit group http://dunit.sourceforge.net/
Software Description
DUnit is a port of the popular JUnit tool to Borland's Delphi (Object Pascal).
Platforms
Windows, Linux

Entry updated August 14, 2003.
Return to Listings


GJTester

Kind of Tool
General Java testing tool
Organization
TreborSoft
http://www.gjtester.com/
Software Description
GJTester provides a powerful GUI to aid developers in building test cases and test scripts. It allows the testers to accomplish unit and regression test without programming effort. The tool is useful for testing CORBA, RMI and other server technologies as well.
Platforms
Platforms supported by Java.

Entry updated February 11, 2004.
Return to Listings

Kind of Tool
Unit testing framework for C (freeware)
Organization
Anil Kumar
E-mail: anilsaharan@users.sourceforge.net
http://cunit.sourceforget.net/
Software Description
Unit testing framework for C. It is based on the initial architecture of CppUnit and supports various test runner interfaces like console, curses and XML based.
Platforms
Platform independent

Entry updated May 26, 2004.
Return to Listings


Tessy

Kind of Tool
Automated Unit Testing
Organization
Hitex Development Tools GmbH
http://www.hitex.com/
Software Description
Tessy automates the unit testing of embedded software written in C. Tessy provides code coverage and creates test documentation in various formats. Tessy supports many cross compilers and debuggers for embedded systems and thus is able to execute the tests on the real hardware. Test case specification according to the Classification Tree Method is supported by the Classification Tree Editor, which is included in Tessy. Tessy is ideal for regression tests.
Platforms
Windows NT, 2000 and XP

Entry updated January 5, 2006.
Return to Listings


TestGen4J

Kind of Tool
An automatic unit test generator for java (freeware)
Organization
SpikeSource, Inc
http://www.spikesource.com/projects/testgen4j/
Software Description
TestGen4J is a collection of open-source tools that automatically generates unit test cases. The first released component of TestGen is TestGen4J. TestGen4J automatically generates test cases from your own Java class files, or source files. Its primary focus is to exercise boundary value testing of the arguments passed to the method. It uses a rules engine, with a user-configurable XML file, that defines boundary conditions for the data types. The test code is separated from test data with the help of JTestCase.
Platforms
All Java platforms

Entry updated August 17, 2005.
Return to Listings


Return to index





评论 / 个人网页 / 扔小纸条
* 昵称

已经注册过? 请登录

新用户请先注册 以便能显示头像及追踪评论回复

Email
网址
* 评论
表情
 


 

分类小组论坛
杂谈 , 娱乐、八卦 , 文学、艺术 , 体育 , 旅游、同城 , 象牙塔 , 情感 , 时尚、生活 , 星座 , 科技

请注意遵守中华人民共和国法律法规, 如威胁到本站生存, 将依法向有关部门报告, 同时本站的相关记录可能成为对您不利的证据.

相关法律法规
全国人大常委会关于维护互联网安全的决定
中华人民共和国计算机信息系统安全保护条例
中华人民共和国计算机信息网络国际联网管理暂行规定
计算机信息网络国际联网安全保护管理办法
计算机信息系统国际联网保密管理规定

日历
网志分类
『所有网志』 (14)
技术 (11)
生活 (2)
梦想 (0)
站内搜索
友情链接
我的歪酷 非非共享界
订阅 RSS
0009667
歪酷博客