【单元测试工具】

网站传送门:http://www.testingfaqs.org/t-unit.html

这些工具、框架和库有助于实现单元测试执行的自动化,单元测试通常由开发人员执行,通常使用被测软件公共接口下方的接口。与单元测试相关的其他类别包括静态分析工具、测试覆盖率工具和测试实现工具。

  • AdaTEST 95
  • AgitarOne
  • Aunit
  • C++Test
  • Cantata++
  • Cgreen
  • Check
  • COMPUTE
  • CppUnit
  • csUnit
  • CTA++
  • CUnit
  • CUT
  • dotunit
  • DUnit
  • EasyMock
  • GJTester
  • GrandTestAuto
  • HarnessIt
  • HtmlUnit
  • HttpUnit
  • JavaScript Assertion Unit (jsAsserUnit)
  • JsUnit (Hieatt)
  • JsUnit (Schaible)
  • JTestCase
  • JUnit
  • JUnitEE
  • JUnitX
  • LingoUnit
  • MinUnit
  • Mock Creator
  • Mock Objects
  • MockMaker
  • mockpp
  • Mockry
  • NUnit
  • ObjcUnit
  • OCUnit
  • PalmUnit
  • PBUnit
  • Perl Test::MockObject
  • PerlUnit
  • phpAsserUnit
  • PhpUnit
  • PyUnit
  • QtUnit
  • Rational Test RealTime Unit Testing
  • RCUNIT
  • Ruby/Mock
  • Ruby Test::Unit
  • SimpleTest
  • SUnit
  • TagUnit
  • TBrun
  • Tessy
  • .TEST
  • Test Mentor - Java Edition
  • TestGen4J
  • unit++
  • vbUnit3 Basic
  • VectorCAST
  • xmlMessageTest
  • XMLUnit
  • XSLTunit 

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-306.ibm.com/software/awdtools/test/realtime/

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.

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:
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


JsUnit (Hieatt)

Kind of Tool

JavaScript unit testing framework (freeware)

Organization

Edward Hieatt
E-mail:
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:
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


VectorCAST

Kind of Tool

Embedded Software

Organization

Vector Software, Inc.
http://vectorcast.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

Windows 2000, XP, Linux RedHat, SuSE, Debian, Mandrake, Sun-Solaris 2.5.1 and above, IBM AIX 5.3 and above

Entry updated April 28, 2008.
Return to Listings


CTA++

Kind of tool

C++ test harnessing tool, unit/integration testing

Organization

Testwell Oy
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.
http://www.silvermark.com/Product/java/stm/

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:
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


Check

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


CppUnit

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


csUnit

Kind of Tool

"Complete Solution Unit Testing" for Microsoft .NET (freeware)

Organization

csUnit.org
E-mail:
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


CUT

Kind of Tool

C Unit Test System (freeware)

Organization

SourceForge
http://sourceforge.net/projects/cut/

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


dotunit

Kind of Tool

Unit test framework for .net (freeware)

Organization

Christian Sepulveda
E-mail:
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


EasyMock

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


GrandTestAuto

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


HtmlUnit

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


HttpUnit

Kind of Tool

Java API for accessing web sites without a browser (freeware)

Organization

Russell Gold
E-mail:
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


JavaScript Assertion Unit (jsAsserUnit)

Kind of Tool

JavaScript unit testing framework (freeware)

Organization

Daniel Fournier
E-mail:
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


JTestCase

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


JUnitX

Kind of Tool

JUnit extension module (freeware)

Organization

Extreme Java
E-mail:
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


LingoUnit

Kind of Tool

Unit testing framework for Macromedia Director. (freeware)

Organization

Koseki Kengo
E-mail:
http://lingounit.sourceforge.net/

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


MockMaker

Kind of Tool

A program for creating source code for mock object classes (freeware)

Organization

Matthew Cooke
E-mail:
http://mockmaker.sourceforge.net/

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


Mock Objects

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


Mockry

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


Mock Creator

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:
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


NUnit

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


ObjcUnit

Kind of Tool

Unit testing framework for Objective-C on Mac OS X (freeware)

Organization

Oops AB
Sweden
Phone: +46 (0)303 24 79 00
Fax: +46 (0)303 24 79 09
E-mail:
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


OCUnit

Kind of Tool

Testing framework for Objective C (freeware)

Organization

Sen:te
Petit-Ch�ne 18 ter
CH-1003 Lausanne
Switzerland
Phone: + 41 21 693 83 83
E-mail:
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


PalmUnit

Kind of Tool

Unit testing framework for the Palm device (freeware)

Organization

Yutaka Kato
E-mail:
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


PBUnit

Kind of Tool

Unit test framework for PowerBuilder (freeware)

Organization

John Urberg
E-mail:
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


PerlUnit

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


phpAsserUnit

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


PhpUnit

Kind of Tool

Testing framework for PHP (freeware)

Organization

Fred Yankowski
E-mail:
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


PyUnit

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


QtUnit

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


Ruby Test::Unit

Kind of Tool

Unit testing framework for the Ruby programming language (freeware)

Organization

Nathaniel Talbott
E-mail:
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


Ruby/Mock

Kind of Tool

Mock objects for Ruby (freeware)

Organization

Nat Pryce
E-mail:
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


SUnit

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


JUnitEE

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


unit++

Kind of Tool

C++ unit testing framework (freeware)

Organization

Claus Dr�by
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


vbUnit3 Basic

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:
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


XMLUnit

Kind of Tool

JUnit-style testing for XML (freeware)

Organization

Tim Bacon
E-mail:
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


XSLTunit

Kind of Tool

Unit testing framework for XSLT transformations (freeware)

Organization

Eric van der Vlist
E-mail:
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


JsUnit (Schaible)

Kind of Tool

JavaScript unit test framework (freeware)

Company

J�rg Schaible
E-mail:
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


Perl Test::MockObject

Kind of Tool

Perl extension for emulating troublesome interfaces (freeware)

Organization

chromatic
E-mail:
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


HarnessIt

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


COMPUTE

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:
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


TBrun

Kind of Tool

Automated Unit Test tool

Organization

LDRA
http://www.ldra.com/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++, Ada83 & Ada95 unit testing

Platforms

Windows 9x/NT/2000/XP and Unix. Also available for any host / target environment.

Entry updated May 17, 2007.
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 was released in October 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
  • Table-driven testing and coverage optimisation

Platforms

Windows, Unix, Linux and most target environments

Entry updated October 27, 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

CUnit

Kind of Tool

Unit testing framework for C (freeware)

Organization

Anil Kumar
E-mail:
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


mockpp

Kind of Tool

unit and integration testing (freeware)

Organization

SourceForge.net
http://mockpp.sourceforge.net/

Software Description

mockpp is a platform-independent generic unit testing framework for C++. Its goal is to facilitate developing unit tests and integration tests in the spirit of Mock Objects, EasyMock, and jMock. It includes a slightly modified version of CxxTest as a framework for flow control and analysis, but also works with CppUnit or Boost.Test.

Platforms

The main development platform is Linux but it should run on every platform with a rather current g++. It is also tested on Windows with MSVC7.1 and BCB5.

Entry updated March 10, 2006.
Return to Listings


xmlMessageTest

Kind of Tool

Unit-testing for XML-based message servers. (freeware)

Organization

SmartEdge LLC
http://www.smartedgellc.com/xmlmessagetest

Software Description

Unit-test your XML-based message server without writing any code. Simply document XML messages to send to the server and messages expected back. Can be used by developers or less technical users. Can be easily integrated into an automated build process. Includes sample tests. Runs on virtually any Java-enabled platform. Requires JDK 1.4 or higher.

Platforms

Windows 2000/XP, Linux.

Entry updated May 22, 2006.
Return to Listings


Cgreen

Kind of Tool

C unit tester (freeware)

Organization

Last Craft
http://www.lastcraft.com/cgreen.php

Entry updated February 16, 2008.
Return to Listings


RCUNIT

Kind of Tool

A robust C unit testing framework (freeware)

Organization

SourceForge.net
http://rcunit.sourceforge.net/

Software Description

RCUNIT stands for Robust C Unit. It is a small framework for testing C programs. Similar to other unit testing frameworks, RCUNIT is a framework used for creating repeatable tests. RCUNIT provides uniform interfaces for managing tests. It provides optional setup and tear down functions both for tests and test suites, multiple test registries and test suites, test run and assertion failure callbacks, and an output redirection mechanism for log and test run reports. Requiring only an ANSI compliant C compiler, RCUNIT is a highly portable unit testing tool.

Platforms

portable to many OS platforms

Entry updated October 12, 2006.
Return to Listings


AgitarOne

Kind of Tool

Developer Testing

Organization

Agitar Technologies, Inc.
http://www.agitar.com/

Software Description

AgitarOne supports your move to unit testing. The only comprehensive, fully integrated, unit testing solution available, AgitarOne brings automation to each of the distinct activities of unit testing. AgitarOne makes it easy to adopt unit testing, both on new development projects and on the maintenance and enhancement of legacy code. With AgitarOne, you can cut bugs from development to QA up to 90%, driving quality upstream in your development process, and saving both time and money.

Platforms

Windows, Linux

Entry updated February 6, 2007.
Return to Listings

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值