List of unit testing frameworks

From Wikipedia, the free encyclopedia

This page is a list of tables of unit testing frameworks for various programming languages. Some of these are based on xUnit, but not all of them are.

Contents

[edit] Columns

  • Name: This column contains the name of the framework and will usually link to it.
  • xUnit: This column indicates whether a framework should be considered of xUnit type.
  • Generators: Indicates whether a framework supports data generators. Data generators generate input data for a test and the test is run for each input data that the generator produces.
  • Fixtures: Indicates whether a framework supports test-local fixtures. Test-local fixtures ensure a specified environment for a single test.
  • Group fixtures: Indicates whether a framework supports group fixtures. Group fixtures ensure a specified environment for a whole group of tests.
  • Other columns: These columns indicate whether a specific language / tool feature is available / used by a framework.
  • Remarks: Any remarks.

[edit] Languages

[edit] ActionScript

Name xUnit Remarks
AS2Unit
AsUnit Flash Players 6, 7, 8 and 9
As2lib Unit Test

[edit] Ada

Name xUnit Remarks
AUnit
TBrun

[edit] BPEL

Name xUnit Remarks
BPELUnit

[edit] C

Name xUnit Remarks
GNU Autounit
Check Yes
CUnit Yes
GUnit for GNOME
MinUnit
TBrun
Cgreen includes mocks
CuTest cute unit testing

[edit] C++

Name xUnit Fixtures Group fixtures Generators Mocks Exceptions Macros Templates Grouping Remarks
Test soon No Yes Yes Yes Not yet Auto-detect Yes Yes Macro (namespaces) Complex macro logic
Boost Test Library No No No Yes No Yes User decision Yes Suites Part of Boost
CPPUnit Yes No Yes No No No Yes No Suites http://cppunit.sourceforge.net/cgi-bin/moin.cgi
CppUnitLite Yes No No No Yes No Suites
NanoCppUnit No Yes Yes No No No Yes Yes Suites Proof-of-concept
cxxtest No Yes Yes No No Optional Yes No Suites Uses a simplistic C++ parser and code generator
TUT No No Yes No No Yes Yes Yes Templates Templates for registration
OAKUT No No Yes Yes (XML) No Yes Yes Yes XML Uses shared libraries / DLLs
QuickTest No No No No No Yes Yes Yes No
TBrun Commercial
Unit++
UnitTest++ Release notes

[edit] ColdFusion (CFML)

Name xUnit Remarks
CFUnit
cfcUnit

[edit] Delphi

Name xUnit Remarks
DUnit
DUnit at SourceForge

[edit] Emacs Lisp

Name xUnit Remarks
ElUnit

[edit] Fortran

Name xUnit Remarks
fUnit
FRUIT

[edit] Haskell

Name xUnit Remarks
HUnit

[edit] Internet

Name xUnit Remarks
HtmlUnit
HttpUnit testing framework for web applications, typically used in combination with JUnit
IEUnit testing framework for web applications, based on IE browser and Javascript

[edit] Java

Name xUnit Remarks
JTiger
JUnit Yes
DBUnit a JUnit extension to perform unit testing with database-driven programs
JUnitEE a JUnit extension for testing Java EE applications
GroboUtils a JUnit extension providing Automated documentation, class hierarchy unit testing, code coverage, and multi-threaded tests.
TestNG
JUnitEE a unit testing framework for Java EE

[edit] JavaScript

Name xUnit Remarks
JSUnit
Crosscheck

[edit] Lasso

Name xUnit Remarks
L-Unit

[edit] MATLAB

Name xUnit Remarks
mlUnit
MUnit: Matlab Unit Testing

[edit] MySQL

Name xUnit Remarks
utMySQL

[edit] .NET programming languages

Name xUnit Remarks
csUnit
NUnit
Visual Studio 2005 Team Edition includes a comprehensive set of unit testing tools
MbUnit

[edit] Objective-C

Name xUnit Remarks
ObjcUnit
OCUnit
UnitKit
OCZanebug

[edit] Ocaml

Name xUnit Remarks
OUnit

[edit] PegaRULES Process Commander

Name xUnit Remarks
PRUnit

[edit] Perl

Name xUnit Remarks
TAP the Test Anything Protocol used by most Perl tests
Test::Harness the standard Perl test runner and TAP parser
Test::More included with all modern Perl installations
Test::Class Yes xUnit style testing adapted to Perl
Test::Builder a module for making more testing modules
Test::Unit (a.k.a. PerlUnit) Yes a fairly straight port of JUnit to Perl

[edit] PHP

Name xUnit Remarks
PHPUnit2
PHPUnit
SimpleTest SimpleTest
Testilence
Code Igniter

[edit] PL/SQL

Name xUnit Remarks
utPLSQL
Quest Code Tester for Oracle a complete Pl/SQL testing tool from the makers of Toad and Steven Feuerstein
pl/unit

[edit] PowerBuilder

Name xUnit Remarks
PBUnit

[edit] Python

Name xUnit Remarks
PyUnit
TestOOB an extended test framework for PyUnit
Doctest

[edit] REALbasic

Name xUnit Remarks
RBUnit

[edit] Ruby

Name xUnit Remarks
Test::Unit yes
RSpec Behaviour-driven development framework

[edit] SAS

Name xUnit Remarks
FUTS the Framework for Unit Testing SAS

[edit] Scala

Name xUnit Remarks
Rehersal with JMock like Expectations and natural language test names

[edit] Simulink

Name xUnit Remarks
slUnit

[edit] Smalltalk

Name xUnit Remarks
SUnit

[edit] SQL

Name xUnit Remarks
SQLUnit
Visual Studio Team Edition for Database Professionals

[edit] Tcl

Name xUnit Remarks
tcltest

[edit] Transact-SQL

Name xUnit Remarks
TSQLUnit
Visual Studio Team Edition for Database Professionals

[edit] Visual FoxPro

Name xUnit Remarks
FoxUnit

[edit] Visual Basic

Name xUnit Remarks
VbUnit
VbaUnit for Visual Basic for Applications
ExcelVbaUnit for Excel VBA

[edit] XML

Name xUnit Remarks
XUnit for testing
  • native XML programs,
  • individual XSLT templates,
  • and Java programs that are dealing with XML datas

[edit] Other

Name xUnit Remarks
Test Manager

[edit] See also

Unit testing in general:

Extreme programming approach to unit testing:

[edit] External links

In other languages