This is a list of notable test automation frameworks commonly used for unit testing. Such frameworks are not limited to unit-level testing; they can be used for integration and system level testing.

Frameworks are grouped below. For unit testing, a framework must be the same language as the source code under test, and therefore, grouping frameworks by language is valuable. But some groupings transcend language. For example, .NET groups frameworks that work for any language supported for .NET, and HTTP groups frameworks that test an HTTP server regardless of the implementation language on the server.

Columns

The columns in the tables below are described here.

  • Name: Name of the framework
  • xUnit: Whether classified as xUnit
  • TAP: Whether can emit Test Anything Protocol (TAP) output
  • Generators: Whether supports data generators – generating test input data and running a test with the generated data
  • Fixtures: Whether supports test local fixtures – associating a test environment with a single test
  • Group fixtures: Whether supports group fixtures – associating a test environment with a group of tests

Some columns do not apply to some groupings and are therefore omitted from that groupings table.

Groups

ABAP

NamexUnitSourceRemarks
ABAP UnitYessince SAP NetWeaver 2004
TEST.easysince SAP NetWeaver 7.02 SP13

Active Server Pages (ASP)

NamexUnitSourceRemarks
ASPUnit

Ada

NamexUnitSourceRemarks
AUnitYes
AdaTEST 95No
Ahven
TBrun
VectorCAST/AdaNo
RTRT

Ant

For Apache Ant tasks.

NamexUnitSourceRemarks
AntUnit

AppleScript

For AppleScript.

NamexUnitSourceRemarks
ASUnitYesinfluenced by SUnit, ASTest and Python unittest
ASTestYes

ASCET

NamexUnitSourceRemarks
TPTYesModel based physical stimulation and implemented stimulation

Bash

NamexUnitSourceRemarks
shUnit2Yesan xUnit unit test framework for Bourne-based shell scripts
bats-coreBats-Core: Bash Automated Testing System
ShellSpecBDD style unit testing framework. Supports all POSIX compliant shells including Bash, Dash, Ksh and Zsh. Nestable blocks that realize local scope and easy mocking. Parallel execution. RSpec-like/TAP/JUnit XML Reporter. Code coverage integration. MIT license.
bash_unitbash unit testing enterprise edition framework. GPL-3.0 License.
bachBach is a testing framework for Bash that provides the possibility to write unit tests for your Bash scripts.

BASIC

Visual Basic (VB6.0)

For unit testing frameworks for VB.NET, see .NET languages.

NamexUnitLicenseSourceRemarks
vbUnitCommercialVisual Basic and COM objects
vbUnitFreeLGPLVisual Basic and COM objects
VbaUnitBSDVisual Basic for Applications
ExcelVbaUnitLGPLSimilar to VbaUnit, but specifically for testing Excel VBA (written as an Excel add-in)
TinyUnitVisual Basic 6, VB .NET, and PHP5
SimplyVBUnitYesMITVB6 Unit Testing Framework modeled after the popular NUnit for .NET
VBLiteUnitBSDVisual Basic and COM objects

Xojo (REALbasic)

NamexUnitSourceRemarks
RBUnitNo
XojoUnitYesUnit testing framework for Xojo that works with Desktop, Web and iOS project types.

Business Process Execution Language (BPEL)

NamexUnitSourceRemarks
BPELUnit

C

NamexUnitTAPFixturesGroup fixturesGeneratorsYearSourceLicenseRemarks
AceUnitYesYes2007BSD licenseIs JUnit 4.x style, easy, modular and flexible. It can be used in resource constrained environments, e.g., embedded software development, and PCs, workstations, servers (Windows and Unix).
AcuTestYesYesMITSimple, straightforward, fast. Single .h file. Used in the Apache Portable Runtime Library. Renamed from CUTest.
API Sanity CheckerYesYes (spectypes)Yes (spectypes)Yes2009LGPLUnit test generator for C/C++ libraries. Can automatically generate reasonable input data for every API function.
Automated Testing Framework2007BSDOriginally developed for the NetBSD operating system but works well in most Unix-like platforms. Ability to install tests as part of a release.
BDD-for-CYesMITBDD test framework with TAP output in a single header file.
Cantata++NoYesYesYesProprietaryAutomated unit and integration testing tool for C. Certified testing for host or embedded systems. Code coverage and unique call interface control to simulate and intercept calls.
CatsrunnerGPLUnit testing framework for cross-platform embedded development.
CBDDYesYesApache Licenselibcbdd is a block-based Behavior-driven development library which allows for very readable tests. Tests are written inside main functions. Works only with clang and the libblocksruntime extension.
cfixYesLGPLSpecialized for Windows development—both Win32 and NT kernel mode. Compatible to WinUnit.
CgreenYesISCUnit test framework including strict and loose mocks, auto-discovering of tests, suites, BDD-ish style notation, test protected against exceptions, "natural language" output, extensible reporter, learning mocks to discover actual values sent to a mock.
CHEATYes2012BSDHeader-only unit testing framework. Multi-platform. Supports running each test in a separate process. Works without needing to "register" test cases.
CheckYesYesYesYes2001LGPLCheck features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate process, 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. Can output to multiple formats, like the TAP format, JUnit XML or SubUnit. Supports Linux, macOS, FreeBSD, Windows.
CmockaYesYesYesYes2012Apache License 2.0CMocka is a test framework for C with support for mock objects. It's easy to use and setup. CMocka is forked from and a successor to cmockery, which was developed by Google but has been unmaintained for some time. Can output to multiple formats, like the TAP format, JUnit XML, or SubUnit.
CmockeryYes2008Apache License 2.0Google sponsored project.
CppUTestYesYesNoYes3-clause BSDLimited C++ set by design to keep usage easy and allow it to work on embedded platforms. C++ is buried in macros so the learning curve for C programmers is minimal. Ported to Symbian. Has a mocking support library CppUMock
CriterionYesYesYesYesYesMITUnit testing framework with automatic test registration. Supports theories and parameterized tests. Each test is run in its own process, so signals and crashes can be reported. Can output to multiple formats, like the TAP format or JUnit XML. Supports Linux, macOS, FreeBSD, Windows.
CU3-clause BSDCU is a simple unit testing framework for handling automated tests in C.
CTestYesYesYesApache License 2.0Ctest is a framework with some special features: formatted output for easy parsing, easy to use.
CUnitYes2001LGPLOS independent (Windows, Linux, macOS, Solaris, HP-UX, AIX and probably others)
CUnit (CUnity Fork)Yes2018LGPLForked from CUnit in 2018 to provide ongoing development and support. OS independent (Windows, Linux, macOS, Solaris, HP-UX, AIX and probably others). Also supports output compatible with JUnit and in most cases can be a drop in replacement for CUnit.
CUnitWin32YesLGPLFor Win32. Minimalistic framework. Executes each test as a separate process.
CUTNoBSD
CutterYesLGPLA Unit Testing Framework for C.
EmbeddedUnitYesYes2003MITEmbedded C
EmbunitNoProprietaryCreate unit tests for C/C++ and Embedded C++
FCTXYesBSDFast and complete unit testing framework all in one header. Declare and write your functions in one step. No dependencies. Cross-platform.
GLib TestingYesYesPart of GLib
GUnitfor GNOME
HammockingYesYesMITCreates gmocks for C code . Also creates custom code. Usecase: Testing of legacy code
lcutYesYesYesApache License 2.0a Lightweight C Unit Testing framework, including mock support
libcesterYesYesYesNoYesMITA robust header only unit testing framework, for C and C++. Supports function mocking, memory leak detection, crash report. Works on various platforms including embedded systems and compatible with various compilers. Outputs to multiple format like TAP, JunitXML, TAPV13 or plain text.
LibUYesNoBSDmultiplatform (Unix, Windows); explicit test case/suite dependencies; parallel and sandboxed execution; xml, txt and customizable report formatting.
MimiccProprietaryFully automated mock generation for C and C++. Based on clang, provides the ability to compile header files straight into linkable mock object files and control them with an accompanying API.
MinUnitMITextreme minimalist unit testing using 2 C macros
MutNoNoNoNoMITAnother minimalistic framework for C and Unix. Single header file.
NalaMITPowerful mocking. Clean API.
NovaProvaYesYesYesYesApache License 2.0Unit testing framework with automatic test registration. Supports mocking and stubbing. Each test is run in parallel with valgrind in its own process, so memory errors and signals can be caught. Supports Linux.
OpmockYesYesYesYesGPLv3Stubbing and mocking framework for C and C++ based on code generation from headers. Can check call parameters, call sequence, handle multiple implementations of a mock, and more. Includes as well a small unit testing framework, with JUnit compatible XML output, but works also with any unit testing framework.
Parasoft C/C++testYesYesYesYesProprietaryAutomated unit/component test generation and execution on host or embedded systems with code coverage and runtime error detection. Also provides static analysis and peer code review.
PicoTestYesYesYes3-clause BSDPicoTest is a single-file unit testing framework for C programs that follows the xUnit principles. It provides a CMake module definition for easier integration with other CMake projects.
RCUNITYesYesYesMITRCUNIT is a small framework for testing C programs. It uses non-local jumps to emulate exceptions and handles program terminating signals (e.g. SIGILL) during test runs. RCUNIT allows creation of test fixtures, either per test or per test group.
RexoYesNoYesYesNoPublic domainFramework for C89/C++ featuring automatic registration of tests and a polished API.
RK TestYesPublic domainA single-header unit testing library closely mimicking Google Test, featuring self registering tests.
RTRTProprietary
SeaTestYesYesMITSimple, pure C, unit testing framework
SmarttesterProprietaryAutomated unit and integration testing, and code coverage
Sput2-clause BSDSimple, portable C unit testing framework, single header file
STRIDEYesYesYesNoProprietaryEmbedded software quality solution that includes techniques for unit, API, Behavior & Integration testing as well as interactive reporting portal
TBrunYesProprietaryAutomated unit and integration testing, and code coverage Generators available across another component named TBExtreme
TauYesYesYesYesYesMITA Micro Unit testing framework for C/C++. At ~1k lines of code, it is simpler, lighter and much faster than heavier frameworks like Googletest and Catch2. Includes a rich set of assertion macros, supports automatic test registration and can output to multiple formats, like the TAP format or JUnit XML. Supports Linux, macoOS, FreeBSD, Windows.
TESSYProprietaryAutomated unit and integration testing, and code coverage focused on embedded systems
TestApeTest and mocking framework. Automatic default mocks for unresolved externals
Test Dept.YesGPLCan modify calls from software under test; e.g. test error conditions by stubbing malloc and letting it return null. Well documented
TF unit testYesYes2012GNU Lesser GPLPure C, supports test isolation in separate processes
TheftYes2014ISCC library for property-based testing.
tinytestYesApacheStandalone, no dependencies, header-only.
TPTYesYesYesYesProprietaryTime Partition Testing: Automated model based unit and integration testing for embedded systems. For C code under test, TPT supports automatic test frame generation including automatic interface analysis as well as automatic test execution, evaluation and logging.
UnityYesYesMITLightweight and includes features for embedded development. Can work with Mocks and Exceptions via CMock and CException. Also integrated with test build environment Ceedling.
usfstlYesYesBSDUser Space Firmware Simulation Testing Library. built on top of C Unit Testing framework, which allows mocking of any symbol in runtime to multiple implementations.
VectorCAST/CNoYesYesYesProprietaryAutomated unit and integration testing, and code coverage
Visual AssertYesUnit-Testing Add-In for Visual Studio. Based on the cfix testing framework.
qcYesFreeBSDqc is a C port of the QuickCheck unit test framework
xTestsBSDDepends on STLSoft C & C++ Libraries

C#

See .NET languages below.

C++

NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks
AerynNoYesYesNoNoYesYesYesYes
API Sanity CheckerGNU LGPLYesYes (spectypes)Yes (spectypes)YesUnit test generator for C/C++ libraries. Can automatically generate reasonable input data for every API function. LGPL.
ATFBSDYesYesYesYesOriginally developed for the NetBSD operating system but works well in most Unix-like platforms. Ability to install tests as part of a release.
BanditMITNo (describe/it)Yes (describe)Yes (Nested describe)NoNoYesYesNoYes (Nested describe)Header only. Automatic test registration. Specifically developed for C++11
Boost Test LibraryBoostYesYesYesYesWith additional library "Turtle"YesUser decisionYesSuites and labelsPart of Boost. Powerful dataset concept for generating test cases. Different levels of fixtures (global, once per test suite, once per each test case in a suite). Powerful floating point comparison.
BugEyeBoostNoNoNoNoNoYesNoNoYesHeader-only. TAP output.
QA Systems CantataProprietaryNoYesYesYesYesYesYesYesYesCommercial. Automated unit and integration testing tool for C++. Certified testing for host or embedded systems. Code coverage and unique call interface control to simulate and intercept calls.
CasmineGPL 2.0NoYesYesNoNoYesYesYesYesC++17, modeled after the Jasmine testing framework, type-safe tests, auto-registration, BDD features, focused/disabled/pending tests, flexible configuration (JSON), colored console reporter, extendable, Windows/Linux/macOS
Catch or Catch2BoostNoYesYesYesNoYesYesYesYesHeader only, no external dependencies, auto-registration, tdd and bdd features
CATCH-VC6NoYesYesYesNoYesYesYesYesVC6 port of CATCH
cfixYesYesNoNoNoYesYesNoSpecialized for Windows development—both Win32 and NT kernel mode. Compatible to WinUnit.
CputYesYesYesYesYesYesNoSuitesLibrary and MS Visual Studio add-in to create and run unit tests. Open Source.
CPPOCL/testApache 2NoYesNoYesYesReleased Under Apache 2.0, compliant with C++ 98 and C++ 11. Works for Linux, Windows 32/64 bit using gcc, Cygwin, VS2005, VS2015. Header file only library. Provides ability to write performance tests in a similar way to unit tests. Has some support for reporting memory leaks.
CppTestGNU LGPLYesYesSuitesReleased under LGPL
cpptest-liteMITYesYesYesSuitesReleased under MIT. Developed for C++11.
CppUnitGNU LGPLYesYesYesNoNoYesYesNoSuitesReleased under LGPL
NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks
CppUTestYesYesYesNoYesNoYesNoSuitesLimited C++ set by design to keep usage easy and allow it to work on embedded platforms. C++ is buried in macros so the learning curve for C programmers is minimal. Ported to Symbian. Has a mocking support library CppUMock
CppUnitLiteYesNoNoNoYesNoSuites
CPUnitYesYesYesNoNoYesYesYesYesReleased under BSD.
CriterionMITYesYesYesYesNoYesYesYesSuitesUnit testing framework with automatic test registration. Needs C++11 compiler support for the C++ API. Supports theories and parameterized tests. Each test is run in its own process, so signals and crashes can be reported. Can output to multiple formats, like the TAP format or JUnit XML. Supports Linux, macOS, FreeBSD, Windows.
libcesterMITYesYesYesYesYesYesYesNoFileA robust header only unit testing framework for C and C++ programming language. Support function mocking, memory leak detection, crash report. Works on various platforms including embedded systems and compatible with various compilers. Outputs to multiple format like TAP, JunitXML, TAPV13 or plain text.
crpcutNoYesNoNoYesYesSuites within SuitesBSD 2 clause. Runs each test in its own process, guaranteeing that the test suite continues even in the event of an unexpected crash or infinite loop.
CUTEYesYesNoNoYesYesSuitesCUTE (C++ Unit Testing Easier) with Eclipse CDT integration. Single line include, without inheritance. Mock support is provided by Mockator.
cuteeNoNoNoNo
CuteXNoNoNoNoNoYesNoYesYes (by wildcard)Native C++ unit test framework using template recursive, no "weird" fixture. Assertion template only, zero learning time. Header only, no external library.
CxxTestYesYesYesNoYes*OptionalYesNoSuitesUses a C++ parser and code generator (requiring Python) for test registration. * Has framework to generate mocks of global functions, but not of objects.
doctestMITNoYesYesNoNoYesYesYesYesLight, feature rich C++ single header testing framework
EmbunitNoNoYesCommercial. Create unit tests for C/C++ and Embedded C++
ExercisixBSDNoNoNoNoNoYesYesYesExecutablesGoal: make adding tests as fast and easy as possible.
FakeItMITYesUse the latest C++11 features to create an expressive, yet very simple, API.
FCTXYesYesYesNoNoNoYesNoYesFast and complete unit testing framework all in one header. Declare and write your functions in one step. No dependencies. Cross platform.
FructoseNoYesNoYesNoYesYesYesNoA simple unit test framework.
NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks
Google C++ Mocking FrameworkYesNoYesYes
Google TestBSDYesYesYesYesYesYesSupports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, various options for running the tests, and XML test report generation.
HestiaMITYesYesYesNoNoYesYesYesSuitesOpen source. Can test servers, libraries, and applications, and embedded software. Outputs to stdout, text, html, or xml files. Has several assertions for messaging, warnings, and exceptions, as well as plain conditions.
HippomocksYesNoYesYes
IglooYes (Contexts)NoNoNoYesYesYesYes (nested contexts)BDD style unit testing in C++
lestNoYesNoNoNoYesYesYesNoTiny header-only C++11 test framework
liblittletestYesYesYesNoNoYesYesYesYesPortable, one file header-only C++ library for unit testing. Supports a rich set of assertions, automatic test discovering, various options for running the tests.
libunittestYesYesYesNoNoYesYesYesYesPortable C++ library for unit testing, uses C++11.
mettleBSD
Microsoft Unit Testing Framework for C++ProprietaryYesYesYesNoNoYesYesYesYesCommercial. Integrated into Microsoft Visual Studio 2012 IDE and later versions.
MimiccProprietaryYesFully automated mock generation for C and C++. Based on clang, provides the ability to compile header files straight into linkable mock object files and control them with an accompanying API.
MockatorYesNoYesYesHeader-only mock object library and an Eclipse plug-in to create test doubles in a simple yet powerful way; leverages new C++11 language facilities while still being compatible with C++03; has built-in support for CUTE
mock++/mockcppYesYesNoYesYesYesYesSuitesSimple testing framework for C++ (requires cmake)
mockitoppYesA C++ mock object framework providing similar syntax to mockito for Java.
mockppYesYesYesYesYesYesYesSuitesA C++ mocking framework hosted by Google
NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks
NanoCppUnitNoYesYesNoNoNoYesYesSuitesProof-of-concept
NullUnitYesYesYesNoNoYesYesYesSuitesLow effort, easy to use. Supports automatic test discovery, user-defined assertions, fatal and non-fatal conditions, XML test report generation, and strong support for IDE integration.
OAKUTNoNoYesYes (XML)NoYesYesYesXMLUses shared libraries / DLLs
OpmockGNU GPLYesYesYesYesYesNoYesNoYesStubbing and mocking framework for C and C++ based on code generation from headers. Does not imply modification to your existing code, so well suited for legacy code refactoring. In particular, you don't need virtual operations or abstract classes. Can check call parameters, call sequence, handle multiple implementations of a mock, and more. Includes as well a small unit testing framework, with Junit compatible xml output, but works also with any unit testing framework.
Parasoft C/C++testProprietaryYesYesYesYesYes with proper configurationYesYesYesYesCommercial. Automated unit/component test generation and execution on host or embedded systems with code coverage and runtime error detection. Also provides static analysis and peer code review.
snitchBoostNoYesYesNoNoYesYesYesYesLightweight C++20 testing framework without heap allocations
QtTestGNU LGPLYesYesNoNoNoYesNoNoBuilt on the ultra cross platform Qt Library. Allows testing on Windows, macOS, Linux, BSD, Symbian, and any other platform Qt can build on.
QuickCheck++Framework for automatically generating tests. Inspired by QuickCheck
QuickTestNoNoNoNoNoYesYesYesNo
RexoPublic domainYesYesYesNoNoNoYesNoYesFramework for C89/C++ featuring automatic registration of tests and a polished API.
SafetyNetYesYesNoYesYesYesYesNoNoLightweight fast unit testing framework that is easy to set up and use. Works on Windows and Linux. Supports GNU C++, VC++, MinGW, QtSDK and can create test projects for VisualStudio, CodeBlocks, Eclipse, KDevelop
ShortCUTNoYes
STRIDEProprietaryYesYesYesNoYesYesYesYesYesCommercial. Embedded software quality solution that includes techniques for unit, API, Behavior & Integration testing as well as interactive reporting portal
NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks
Symbian OS UnitYesBased on CxxTest
TBrunProprietaryCommercial. Generators available across another component named TBExtreme
TauMITYesYesNoYesYesYesA Micro Unit testing framework for C/C++ (~1k lines of code). Includes a rich set of assertion macros, supports automatic test registration and can output to multiple formats, like the TAP format or JUnit XML. Supports Linux, macOS, FreeBSD, Windows.
TESSYProprietaryCommercial.
TDOGYesYesYesYesNoYesYesYesMacro (namespaces)TDOG is a lightweight, portable and open source C++ xUnit Testing Framework.
Test soonNoYesYesYesNoAuto-detectYesYesMacro (namespaces)Complex macro logic (deliberately)
Testwell CTA++ProprietaryYesNoNoYesNoYesYesYesCommercial.
tpunit++YesYesNoNoOptionalYesYesA simple, portable C++ xUnit library contained in a single header.
TPTProprietaryYesYesYesYesNoNoDependsDependsYesTime Partition Testing: Automated model based unit and integration testing for embedded systems. For C code under test, TPT supports automatic test frame generation including automatic interface analysis as well as automatic test execution, evaluation and logging.
TrompeloeilBoostYesSimple, yet powerful, single header framework for mocking. Requires C++14.
TUTNoNoYesNoNoYesYesYesTemplatesBased on templates. Automatic test registration/discovery, customizable reports generation process, various tests run options. Easy adaptable to work on Windows CE.
Typemock Isolator++YesYesYesYesYesYesCommercial. Isolation/Mocking Framework for C/C++
Unit++
unit.hppNoYesNoYesNoYesYesNoExtremely lightweight single header (<500loc) unit testing framework. It follows the spirit of D in regards to unit tests. Automatic test discovery. RAII style test setup that are reusable in SECTIONs (Similar to Catch).
UnitTest++NoYesYesNoYesYesYesSuitesUnitTest++ is free software. Simplicity, portability, speed, and small footprint are all important aspects of UnitTest++.
upp11YesYesNoNoNoYesYesYesYesFree software. Minimal (single small header), auto test registrations, parametrized tests, etc. C++11 only.
UquoniTestProprietaryYesYesYesNoYesYesYesYesYesCommercial. Adds features like easy creation of (reusable) test directories, Rich Booleans in assertions, and more.
μtBoostNoYesYesNoNoYesNoYesYesC++20 single header/single module, macro-free μ(micro)/Unit Testing Framework with no dependencies.
VectorCAST/C++ProprietaryNoYesYesYesYesYesYesYesYesCommercial. Automated unit and integration testing, and code coverage.
Visual AssertYesYesNoNoNoYesYesNoUnit-Testing Add-In for Visual Studio. Based on the cfix testing framework.
WinUnitFocused more toward C/C++ than .NET developers
NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks
xTestsYesYesDepends on STLSoft C & C++ Libraries
xUnit++YesYesYesYesYesYes, Test setup onlyYesYes, Suites and AttributesSupports running tests concurrently. Macros are used for test setup only, not for test assertions.
tinytestApache 2YesYesStandalone, no dependencies, header-only.
sTestMITYesYesYesYesLightweight (one header file, uses standard library). Simple to use and write tests quickly (no need to: build special constructions, create objects, use scope, catch or throw exceptions). Counting, grouping and merging tests. Easy to modify output (separated logic from printing logs). Needs C++11.
NameLicensexUnitFixturesGroup fixturesGeneratorsMocksExceptionsMacrosTemplatesGroupingSourceRemarks

C for Graphics (Cg)

NamexUnitSourceRemarks
UnitTestCgNoPixel and Vertex Shaders supported.

COBOL

NamexUnitSourceRemarks
COBOLUnitYesA simple, open source Unit testing framework to write and run repeatable tests in COBOL. Distributed under GNU General Public License.
cobol-unit-testNoEnable isolated unit testing of individual paragraphs in COBOL programs, in a standalone environment with no connection to a z/OS system. Distributed under GNU General Public License.
ECBLUnitNoSimple Unit Testing for z/OS written in IBM Enterprise COBOL. Distributed under GNU General Public License.
GCBLUnitNoSimple Unit Testing for GnuCOBOL written in GnuCOBOL. Distributed under GNU General Public License.
savvytestNoCommercial tool (rather than a framework) to edit and perform component tests on the IBM mainframe platform
Topaz for Total TestNoCommercial tool (rather than a framework) to automatically create and execute mainframe unit tests; provide data stubbing; provide default test assertions that can be changed and more.
zUnitYesCommercial framework on the IBM mainframe platform
mfunit (MFU)YesCommercial framework for testing Micro Focus COBOL programs on the Windows/Unix platforms
CC AnalyzerNoCommercial Code Coverage Analysis tool. Supports IBM mainframe, Windows, Unix platforms

ColdFusion (CFML)

NamexUnitSourceRemarks
CFUnitNo longer maintained.
cfcUnitYes
MXUnitYesUnit Test Framework with Eclipse and Sublime Text Plugins for CFML on ColdFusion, Railo, and Lucee
TestBoxYesxUnit and Behavior Driven Testing Framework for CFML ColdFusion, Railo, and Lucee
MockBoxNoMocking/Stubbing Framework for CFML (ColdFusion)

Crystal

NamexUnitSourceRemarks
CrotestMIT License. A tiny and simple test framework for Crystal with common assertions and no pollution into Object class.

Curl

NamexUnitSourceRemarks
CurlUnit

Dart

NamexUnitSourceRemarks
test
dartunitYes

DataFlex

NamexUnitSourceRemarks
DFUnitYes

Delphi

NameLicenseSourceRemarks
DUnit"AS IS"Support FastMM4
DUnitXApache 2.0Support FastMM4, FastMM5, Delphi-Mocks

ECMAScript

ActionScript, Apache Flex

NamexUnitSourceRemarks
FlexUni
Breeze TestSimple Unit Testing for AIR
FlexUnit 4YesMetadata-driven unit testing for Flex 2,3 and 4 and ActionScript 3 projects
Reflex UnitMetadata-driven unit testing framework for Flex 2 and 3
ASTUceYesUnit testing for ActionScript 3 (also JavaScript, ActionScript 1 & 2), that can also run on the command-line with a cross-platform executable (supports macOS, Linux, Windows)
AsUnitFlash Players 6, 7, 8, 9 and 10
dpUIntUnit and Integration testing framework for Flex 2 and 3
FluintUnit and Integration testing framework for Flex 2 and 3
morefluentMore fluent testing of asynchronous behaviors in Flex
mojotestYes(under development) Unit testing for ActionScript 3, Flash Player 10

Haxe

NamexUnitSourceRemarks
munitProduces HTML reports for multiple compile targets including JavaScript, ActionScript and C++
hexUnit

JavaScript

NamexUnitTAPClient-sideServer-sideSourceRemarks
AVAYesYesNoYesFuturistic JavaScript test runner
SuitestYesYes[OBSOLETE]: Suitest is a powerful and easy-to-use JavaScript BDD test suite
DOHYesYesDojo Objective Harness that can be run in-browser or independently via Rhino
LBRTW UTNoYesNoDeveloped as a learning project
JSUnitYesNoYesNoJSUnit is no longer actively maintained
Enhance JSYesNoYesNoPort of Enhance PHP
QUnitYesYesYesjQuery test harness
Unit.jsCompatibleYesYesYesUnit testing framework for javascript and Node.js. Unit.js works with any unit testing framework and assertion libraries. Multiple assertions styles: TDD, BDD, spec (provides a spec documentation generator), expect, ...
RhUnitYesYesQUnit compatible Rhino/JUnit framework
CrosscheckNoYesBrowserless Java-based framework
J3UnitYesNo
MochaYesYesYesYesJavaScript test framework running on node.js
internNoYesYesYes
JSNUnitYesNo
YUI TestYesYesYesYes
JSSpecYesNoBehaviour-driven development framework
UnitTestingYesNoscript.aculo.us javascript test harness
JSpecYesYesHighly readable BDD, 50+ matchers, DOM / framework independent, async, rhino, node.js support and more (no longer maintained)
JasmineYesYesBDD, framework independent, easy integration with Ruby projects and continuous builds. Allows for both DOM-less testing and asynchronous testing.
screw-unitYesNoRequires jQuery
TapeYesYesYesYesTAP-producing test harness for node and browsers
teenytestYesYesNoYesZero-API minimal test runner
Test.SimpleNoYesYesNoWrite TAP-emitting unit tests in JavaScript and run them in your browser.
Test.MoreNo[1]YesYesNoWrite TAP-emitting unit tests in JavaScript and run them in your web browser.
TestCaseYesNo
TestItYesYesLight-weight, non-polluting, and easy to set up and use
testdouble.jsCompatibleYesYesOpinionated test double (e.g. mock/spy/stub) library, compatible with any test framework
jsUnitTestYesYesBased on TestCase but without the Prototype dependency
JSTestYesNoLight-weight, non-polluting browser-based framework
JSTest.NETNoYesBrowserless JavaScript unit test runner for use with MsTest, XUnit, NUnit, etc.
jsUnityYesNoYesYesContext-agnostic (JavaScript, JScript (ASP/WSH), Rhino, etc.)
RhinoUnitNoYesRhino-based framework that allows tests to be run in Ant
JasUnitYesNoYesNoLight-weight framework. Part of a project that provides Mocks and IoC.
FireUnitYesNoTesting framework that provides logging and viewing within a new tab of Firebug.
Js-test-driverYesYesNoThe goal of JsTestDriver is to build a JavaScript test runner which easily integrates with continuous builds systems and allows running tests on multiple browsers quickly to ease TDD style development.
Js-test-runnerNoYesYesA JUnit test runner that runs JavaScript tests. The goal of the JS Test Runner is to be able to test JavaScript code using an approach that test driven programmers will feel comfortable with; particularly in the context of Continuous Integration.
Sinon.jsCompatibleYesYesStandalone test spies, stubs and mocks for JavaScript. No dependencies, works with any unit testing framework.
SOAtestNoYesNoCommercial. Testing platform whose record/playback runs in most modern web browsers where client-side Javascript can be tested both through static analysis and functional verification.
VowsNoYes
NodeunitYesYesAsynchronous Javascript testing framework
TyrtleYesYesTesting framework which allows expressive assertions and interactive test output
wruCompatibleYesYesGeneral purpose environment agnostic sync/async JavaScript test framework. Compatible with any browser, desktop or mobile, node.js, Rhino, and phantom.js. Tiny, essential, fast.
Buster.JSCompatibleYesYesYesBDD/xUnit, assertions, expectations, browser/server, extendable with tools like linting and other QA measures, highly configurable, well documented and actively developed
LighttestYesYesMinimalistic testing library, supports flow control, focused on keeping the tests clear
ChaiYesYesBDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
JSUSYesNoA simple JavaScript Unit teSting tool
Wallaby.jsYesYesCommercial. Continuous test runner that reports code coverage and other results directly to the code editor immediately as the code changes. Supports AVA, Jasmine, Mocha, QUnit, Jest, Babel, Webpack, Browserify, CoffeeScript, TypeScript.
fast-checkYesYesProperty Based Testing framework, similar to QuickCheck.
unexpectedYesYesThe extensible BDD assertion toolkit.
JestYesYesA delightful JavaScript Testing Framework with a focus on simplicity.
YesYesVery small but powerful JavaScript unit test framework (129 lines of code, 2.3KB zipped).
RITEwayNoYesYesYesSimple, readable, helpful unit tests. See
VitestYesYesYesYesA Vite-native testing framework with Jest-compatible API.

Erlang

NamexUnitFixturesGroup FixturesGeneratorsSourceRemarks
EUnitYesYesYesYesIncluded in Erlang release R12B5 and later

F#

NamexUnitSourceRemarks
FoqNoLightweight type-safe and thread-safe mock object library for F# with C# and VB.Net support.
FsCheckNoRandom testing (Fuzzing) combinator library based on QuickCheck for Haskell.
FsMocksNoF# mock library based on Rhino.Mocks.
FsTestYesDomain specific language for writing language-oriented programming specifications in F#. Based on FsUnit syntax, but targeting xUnit.net.
FsUnitNoStand-alone Behavior Driven Development framework, with natural syntax for writing specifications.
NaturalSpecNoDomain specific language for writing specifications in a natural language. Based on NUnit.
UnquoteYesCombines F# Quotation decompilation, evaluation, and incremental reduction implementations to allow test assertions to be written as plain, statically checked quoted expressions which produce step-by-step failure messages. Integrates configuration-free with all exception-based unit testing frameworks including xUnit.net, NUnit, and MbUnit. Unquote may also be used within FSI sessions.
Other-See also listing for .NET languages, elsewhere on this page.

Fortran

MPI column: Whether supports message passing via MPI - commonly used for high-performance scientific computing

NamexUnitFixturesGroup fixturesGeneratorsMPIOpenMPSourceRemarks
FUnitYesYesYesNoMinimum Fortran plus assertions and boiler plate expanded via Ruby.
FRUITYesYesYesYesWritten in Fortran 95 yet works with code written in any version of Fortran. Has assertions, fixture, setup, teardown, reporting and more. Generator in Ruby.
Ftnunit
pFUnitYesYesYesYesYesYesSupports testing of MPI and OpenMP based procedures. A fully object-oriented implementation using Fortran 2003 is now available. In use with a range of legacy and new Fortran code.
ObjexxFTK:UnitTestUser writes Fortran tests: Python script automatically finds all tests and generates the Fortran test driver. Supports F77-F2003. Assertion support and string and array libs included.
XFunitYesYesYesYesObject-oriented (OO) framework, implements unit tests in native Fortran, uses OO features of Fortran 2018.
ZofuYes

Go

NamexUnitSourceRemarks
go test'Go test' automates testing the packages named by the import paths.
go2xunitYesConverts go test -v (or gocheck -vv) output to xunit or xunit.net compatible XML output (used in Jenkins/Hudson).

Groovy

All entries under Java may also be used in Groovy.

NamexUnitSourceRemarks
easybBDD
SpockYesBDD with built-in Mocking and Spy capabilities.
GmockYesMocking Framework

Haskell

NamexUnitSourceRemarks
HUnitYes
HUnit-PlusYes
QuickCheckNoQuickCheck
SmallCheckNoExhaustive analysis test of "small" example data.
HspecRSpec-style BDD framework for Haskell that integrates with QuickCheck and HUnit.
chuchuNoCucumber-style acceptance testing framework for Haskell
bddNoInternal domain-specific language for testing programs using Behavior-Driven Development process
test-frameworkYesFramework for running and organising tests, with HUnit and QuickCheck support
HTFYesTop-level module that re-exports functionality from sub-modules. Modules that only define unit tests and quickcheck properties typically only need to import this module. Your test driver should additionally import TestManager and, if needed, BlackBoxTest.

High-Level Shader Language (HLSL)

NamexUnitSourceRemarks
UnitTestCgNoPixel and Vertex Shaders supported.

Identity management

NamexUnitSourceRemarks
IdMUnitYesUnit testing framework designed for identity provisioning and access management workflows.

IGOR Pro

NameTAPxUnitFixturesGroup fixturesSourceRemarks
UTFYesYesYesYesCompatible with versions 6/7/8

Interactive Data Language (IDL)

NamexUnitSourceRemarks
MGunitYes
white paperOnly a white paper, not a framework

HTTP request

NamexUnitSourceRemarks
HtmlUnitJava headless browser emulator
HttpUnitTesting framework for web applications, typically used in combination with JUnit
IEUnitTesting framework for web applications, based on IE browser and JavaScript
Canoo WebTestOpen source framework based on HtmlUnit. Support both XML-like or Groovy syntax in scripting.
SeleniumTesting framework whose playback can run in most modern web browsers to test webpages.
WatirTesting framework based on the Ruby language, that can run in web browsers to test webpages.
SoapUIOpen source web service testing platform for service-oriented architectures.
SOAtestCommercial. API testing platform whose record/playback runs in most modern web browsers to test webpages. Supports Selenium WebDriver.
Traffic ParrotAn API simulation and Service virtualization platform supporting several protocols and APIs. Allows for testing components in isolation.

Java

NamexUnitSourceRemarks
AgitarYesAutomates creation of thorough JUnit tests in code
ArtosYesOpen source framework for writing Unit, Integration and functional tests. It includes pre-configured logging framework and extent reports, utilities to write flow for manual/semi-automated testing. It supports BDD testing using cucumber scripts.
ArquillianYesOpen source framework for writing Integration and functional tests. It includes Arquillian graphene, Drone and Selenium to write tests to the visual layer too.
AssertJFluent assertions for java
beanSpecBehavior-driven development
BeanTestNoA tiny Java web test framework built to use WebDriver/HTMLUnit within BeanShell scripts
CactusA JUnit extension for testing Java EE and web applications. Cactus tests are executed inside the Java EE/web container.
ConcordionAcceptance test-driven development, Behavior-driven development, Specification by example
ConcutestA framework for testing concurrent programs
Cucumber-JVMBehavior-driven development replaces deprecated JRuby-based Cuke4Duke
CuppaBehavior-driven development framework for Java 8
DbUnitA JUnit extension to perform unit testing with database-driven programs
EasyMockA mock framework
EtlUnitYesA unit testing framework for Extract-Transform-Load processes, written in Java. Capable of testing Oracle, Informatica, SqlServer, PostGreSQL, MySQL, etc.
EvoSuiteA test case generation tool that can automatically generate JUnit tests.
GrandTestAutoGrandTestAuto (GTA) is a platform for the complete automated testing of Java software. Tests can be distributed across a number of machines on a network.
GroboUtilsA JUnit extension providing automated documentation, class hierarchy unit testing, code coverage, and multi-threaded tests.
HamcrestCreating customized assertion matchers that can be used together with unit testing frameworks
HavaRunnerYesA JUnit runner with built-in concurrency support, suites and scenarios.
InstinctBehavior-driven development
Java Server-Side Testing framework (JSST)Java Server-Side Testing framework which is based on the similar idea to the one of Apache CACTUS, but unlike CACTUS it's not coupled to JUnit 3.x and can be used with any testing framework.
JBehaveBehavior-driven development
JDaveBehavior-driven development
JExampleYesA JUnit extension that uses dependencies between test cases to reduce code duplication and improves defect localization.
JGivenBehavior-driven development
JMockA mock framework
JMockitOpen source framework. Tests can easily be written that will mock final classes, static methods, constructors, and so on. There are no limitations.
JnarioYesBehavior-driven development like Cucumber
jqwikJUnit 5 test engine for Property-based Testing
JtestYesCommercial. Automated unit/component test generation and execution with code coverage and runtime error detection. Also provides static analysis and peer code review.
JukitoCombines Mockito and Google Guice to allow automatic mocking and instantiation of dependencies
JUnitYes
JUnitEEA JUnit extension for testing Java EE applications
JWalkFast, semi-automatic creation of exhaustive unit test-sets
MockitoA mock framework enabling more black-box testing
MockrunnerA JUnit extension for testing testing servlets, filters, tag classes and Struts actions and forms.
NeedleOpen source framework for testing Java EE components outside of the container in isolation.
NUTesterTesting framework developed at Northeastern University to aid in teaching introductory computer science courses in Java
OpenPojoOpen source framework used to validate and enforce POJO behavior as well as manage identity - equals, hashCode & toString.
PitestMutation testing framework for evaluating the quality of unit tests
PowerMockAn extension to both Mockito and EasyMock that allows mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more.
RandoopYesAutomatically finds bugs and generates unit tests for Java, via feedback-directed random testing (a variant of Fuzzing).
SpockSpock is a testing and specification framework for Java and Groovy applications. Spock supports specification by example and BDD style testing.
SpryTestYesCommercial. Automated Unit Testing Framework for Java
SureAssertAn integrated Java unit testing solution for Eclipse. Contract-First Design and test-driven development
TacingaUses a pure object-oriented programming approach and offers a commercial license and free support.
TestNGYesTests can include unit tests, functional tests, and integration tests. Has facilities to create even non-functional tests (as loading tests, timed tests).
TestcontainersTestcontainers is an open source library for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything that can run in a container.
UnitilsOffers general utilities and features for helping with persistence layer testing and testing with mock objects. Offers specific support for testing application code that makes use of JPA, hibernate and spring. Unitils integrates with the test frameworks JUnit and TestNG.
XMLUnitJUnit and NUnit testing for XML

LabVIEW

NamexUnitSourceRemarks
LabVIEW Unit Test FrameworkNoGenerate test harnesses for VIs in LabVIEW automatically.
VI TesterYesnative LabVIEW object-oriented implementation of xUnit framework. Unit tests are written as VIs in LabVIEW.
CarayaYesnative LabVIEW implementation of xUnit framework.
InstaCoverageYesLabVIEW unit testing framework with fast code coverage measurement.

Lasso

NamexUnitSourceRemarks
L-Unit

LaTeX

NamexUnitSourceRemarks
qstest

Lisp

AutoLISP, Visual Lisp

NamexUnitSourceRemarks
vl-unitUnit testing framework for Visual Lisp.

Clojure

NamexUnitSourceRemarks
clojure.test (built-in)Yes
ExpectationsYes
Midje
SpecljYes
test.check

Common Lisp

NamexUnitSourceRemarks
CLUnit
CyberTiggyr Test
FiveAMNo
FReT
grand-prix
HEUTE
LIFT
lisp-unit
prove
RT
stefil
XLUnit

Emacs Lisp

NamexUnitSourceRemarks
Buttercup
ElUnit
elk-testNo
Unit-test.el

Racket

NamexUnitSourceRemarks
rackunitYesOpen source
OvereasyNoOpen source

Scheme

NamexUnitSourceRemarks
SchemeUnitYes
TesteezNo
SRFI-64No

Lua

NamexUnitTAPSourceRemarks
lua-TestMoreNoYesPort of Perl Test::More
LuaUnitYesYes
lunitNoNo

MATLAB

NamexUnitSourceRemarks
mlUnitYes
mlUnit 2008aYes
Legland's MUnitInspired Lombardi's MUnit
Lombardi's MUnitSimilar to xUnit
MATLAB xUnit Test FrameworkYesMATLAB R2008a and later (uses OOP features introduced in this release). Renamed from mtest. Accepts both xUnit-style subclass or simple MATLAB function test cases.
DoctestNoBitbucket repository - source and documentationAllows automated test cases to be put in the documentation, so use examples double as test cases and vice versa. A TAP producer. Inspired by the Python module of the same name. As of August 2011,[update] it can only handle one line test-cases and its exception handling facility cannot handle exceptions generated after other output.
matlab.unittestYesMATLAB documentationIncluded as part of MATLAB R2013a
MOxUnitYesGitHub repositoryWorks for both MATLAB and GNU Octave. Uses old-style OOP features and is compatible with the MATLAB xUnit Test Framework. Can be used with the Travis-ci and Shippable continuous integration services (example), and integrates with MOcov to provide code coverage reports either offline or through coveralls.io(example).
TTESTNoGitlab repositoryWorks for both MATLAB and GNU Octave. Consists of an assertion framework and tools for refactoring. Framework is targeted at scientific code and scientific people.

.NET

NamexUnitSourceRemarks
AtataYesTest automation full featured framework based on Selenium WebDriver.
csUnitYesincludes GUI, command line, VS2005 plug-in; supports C#, VB.NET, Managed C++, J#, other .NET languages, supports .NET 3.5 and earlier versions; integrated with ReSharper
DbUnit.NETA .NET 2.0 unit testing framework for database access code
ErrorUnitGenerates Unit Tests from logged error's, or paused Visual Studio's call stack; Mocks parameters, class values, EF Data accessed so far.
FixieYesBased on NUnit and xUnit, with an emphasis on customization through user-defined conventions. Integrates with TestDriven.NET.
FluentAssertionsYes
FoqNoLightweight type-safe and thread-safe mock object library for F# with C# support.
GallioExtensible, and neutral automation platform that provides a common object model, runtime services and tools (such as test runners) that may be leveraged by many test frameworks.
LightBDDYesLightweight Behavior Driven Development test framework
MbUnitYesExtensible, model-based nUnit compatible framework. Part of the Gallio Test Automation Platform.
MoqYesMoq is a .NET Framework library for creating mock objects. It leverages C# 3.0 lambda expressions, typically used in Test Driven Development.
MSTestNoA command-line tool for executing Visual Studio created unit tests outside of the Visual Studio IDE - not really a testing framework as it is a part of the Visual Studio Unit Testing Framework.
NaturalSpecNoDomain-specific language for writing specifications in a natural language. Based on NUnit.
NBiYesData centric test framework specialized for the Microsoft Business Intelligence platform. Tests equivalence of result sets based on SQL, MDX or DAX queries, performance, syntax, structure and dimensions' members (Multidimensional and Tabular SSAS). Includes a tests generator.
NFluentFluent assertion library, to be used on top of any testing framework. Make tests easier to read and generate rich error messages on test failure.
NMateNUnit and PartCover Code Generation and integration Addin for Microsoft Visual Studio 2005/2008
Nuclear.TestNoCommand line based unit test platform that can handle .NETStandard and other flavors of .NET, integrates into Visual Studio as external Tool.
NUnitYesincludes GUI, command line, integrates into Visual Studio with ReSharper
NUnitAspBased on NUnit
PexYesMicrosoft Research project providing White box testing for .NET, using the Z3 constraint solver to generate unit test input (rather than Fuzzing).
Quality Gate One StudioNoCommercial/freeware test framework for unit and integration testing that analyses dependencies between test cases to flow data between them. Supports combinatorial testing, multithreading and time-dependencies.
QuickUnit.netNoImplement unit tests without coding. Minimalist approach to test driven development.
Randoop.NETYesAutomatically finds bugs and generates unit tests for .NET, via feedback-directed random testing (a variant of Fuzzing).
Rhino MocksYesA dynamic mock object framework for the .NET framework.
RoasterYesNUnit-based framework and tools for the .NET Compact Framework
SpecFlowYesBehavior Driven Development framework for .NET. Inspired by Cucumber. Integrates with NUnit, MSTest, MbUnit, and others.
SpecterYesBehavior-driven development with an easy and readable syntax for writing specifications. Includes command line, optional integration with NUnit
TestDriven.NETCommercial
.TESTYesCommercial. Automated software quality solution that includes unit test generation and execution as well as reporting industry standard code coverage.
TickSpecYesBehavior-driven development framework for .NET and Silverlight. Supports the Gherkin language as used by Cucumber and extends it with combinatorial examples. Integrates with NUnit, xUnit, MbUnit and MSTest.
TPTYesTime Partition Testing (TPT) is a tool for model-based testing of embedded systems that provides a .NET-API for the TPT-VM for testing controller software.
Typemock IsolatorYesCommercial unit testing framework with simple API and test code generation features, supports C#, ASP.NET, SharePoint, Silverlight.
Visual StudioNoThe Visual Studio Unit Testing Framework was first included in Visual Studio Team System 2005 where it integrated with the IDE, but not available in the most-used Standard Edition. From Visual Studio 2008 it is available also in Professional Edition. Starting with Visual Studio Express 2013, it is included with Visual Studio Express editions.
Visual T#YesVisual T# is a unit testing framework and development environment integrated with Visual Studio. It includes T#, a programming language designed specifically to naturally express unit test intentions, and tools for compiling, running and maintaining them.
xUnit.netYes

Object Pascal, Free Pascal

NamexUnitTAPSourceRemarks
FPCUnitYesNoThis is a port to Free Pascal of the JUnit core framework.
Tap4PascalNoYesA Pascal implementation of the Test Anything Protocol
FPTestYesNoThis is a fork of DUnit2, for use with the Free Pascal compiler.

Delphi

NamexUnitSourceLicenseRemarks
DUnitYesMPL-
DUnit2Yes-
DUnitXYesApache License-
DUnitmYesSingle Unit, Classless framework.

Objective-C

NamexUnitSourceRemarks
GHUnitYesAn easy to integrate, use and visual test framework for simulator and devices.
CATCHNoA modern, fully featured, unit test framework with no external dependencies - all implemented in headers
CedarBDD for Objective-C
KiwiRSpec-style BDD for Objective-C with support for mocks and stubs.
SpectaA light-weight TDD / BDD framework for Objective-C & Cocoa.
QuickA behavior-driven development test framework for Swift and Objective-C.
ObjcUnit
OCUnitYesComes with Xcode. Fully integrated with Xcode 4.
WiteBox for iPhoneFor iPhone only unit testing, provides visual feedback, hierarchical results display, and test durations.
WOTest
XCTestYesSupports iOS, macOS. Requires Xcode 5. Derived from OCUnit.

OCaml

NamexUnitTAPSourceRemarks
Alcotest
OUnitBased on HUnit, which is based on JUnit
Kaputt
TestSimpleYesGenerates TAP
FORT

PegaRULES Process Commander

NamexUnitSourceRemarks
PRUnitYesxUnit style testing adapted to PRPC

Perl

NamexUnitTAPSourceRemarks
TAPN/AYesThe Test Anything Protocol used by most Perl tests
Test::HarnessN/AYesThe standard Perl test runner and TAP parser
Test::MoreNoYesThe baseline testing module, included with all modern Perl installations
Test::ClassYesYesxUnit style testing adapted to Perl
Test::Class::MooseYesYesxUnit testing for large-scale tests suites.
Test::BuilderN/AYesA module for making more testing modules. These modules can be combined in a single test program
Test::Unit (a.k.a. PerlUnit)YesNoa fairly straight port of JUnit to the Perl programming language. Note: This code seems to be abandoned as noted here and here.
Test::DBUnitN/AYesThe database testing modules for both clear box and black box testing
Test::Unit::LiteYesYes (via Test::Unit::HarnessUnit)Test::Unit replacement without external dependencies and with some bugs fixed
Test::AbleYesYesxUnit style testing with

PHP

NamexUnitTAPSourceRemarks
PHPUnitYesYesProduces XML, HTML reports with code coverage
PHP Unit Testing FrameworkYesNoIt produces ASCII, XML or XHTML output and runs from the command line.
limeNoYesSub-project of Symfony
LensYesYesAn invisible framework with readable tests that catch everything.
AtoumYesYesA modern, simple and intuitive PHP 5.3+ unit testing framework.
SimpleTestYesNoUnit test framework for both PHP and web
TestilenceYesNolast updated in 2009
Apache-TestNoYesPHP implementation of Test::More (test-more.php)
SnapTestYesYesSnapTest is a powerful unit testing framework for PHP 5+, leveraging PHP's unique runtime language to simplify the unit test process without sacrificing the agility tests provide.
OnionTestNoYesWrite an Onion! No coding needed just some txt files.
Enhance PHPYesYesUnit testing framework with mocks and stubs built in. Runs in the command line or get HTML5, TAP or XML output via a web browser.
TesterYesYesPHP library for unit-testing (in console and browser), simplified variant of PHPUnit. With ability to handle errors and exceptions in tests.
PhpInlineTestNoNoPhpInlineTest - script to run inline tests for PHP functions and class methods.
PHPSpecNoNoA BDD style testing framework.
Nette TesterYesYesSub-project of Nette Framework
KahlanYesNoUnit/BDD PHP Test Framework with Monkey Patching & Stubbing capabilities
CodeceptionYesYesPHP testing framework, supports unit, functional and acceptance tests automation. written on top of PHPUnit. Codeception tests are written in a descriptive manner using a simple PHP DSL. Supports re-use, modules and addons. Also supports BDD style approach from the box.
PestBuild on top of on PHPUnit with a focus on simplicity.

PowerBuilder

NamexUnitSourceRemarks
PBUnit

PowerShell

NamexUnitSourceRemarks
PesterNoa BDD and unit testing framework for PowerShell

OpenEdge Advanced Business Language (ABL), Progress 4GL

NamexUnitSourceRemarks
proUnitYesxUnit-style framework for Progress OpenEdge procedures and objects
OEUnitYesxUnit-style framework for Progress OpenEdge procedures and objects

Prolog

NamexUnitSourceRemarks
PlUnit
Dogelog TesterProvides dump of testresults for different systems, and fusion into single HTML reports

Logtalk

NamexUnitSourceRemarks
lgtunitYesSupports code coverage at the predicate clause level, QuickCheck, plus TAP and xUnit output formats.

Puppet

NamexUnitSourceRemarks
Rspec-puppetRspec-puppet tests the behaviour of Puppet when it compiles a catalog

Python

NamexUnitGeneratorsFixturesGroup FixturesSourceRemarks
AutotestYesYesUsed for Linux kernel testing.
BalderYesYesYesYesFramework that enables maximum reuse of test code by separating abstract test scenarios (what needs to be tested) from concrete setups (specific devices/platforms under test implementation). It automatically matches and executes scenarios on compatible setups, allowing the same tests to run across similar but different products, embedded systems, or applications without rewriting code.
unittestYesYesYesNoSometimes referred to as PyUnit, has been included in Python standard library from Python version 2.1.
DoctestNoNoNoNoNoPart of Python's standard library.
NoseYesYesYesA discovery-based unittest extension.
PytestYesYesYesYesDistributed testing tool. Can output to multiple formats, like the TAP format, JUnit XML or SubUnit.
htfYesYesYesYesProfessional testing tool. Can output to multiple formats. Focus on reporting. Industry ready. Usable for hardware in the loop testing. Part of Hilster's QABench. Free community-license.
TwistedTrialYesYesYesNoPyUnit extensions for asynchronous and event-driven code.
Should DSLYesYesYesYesDistributed testing tool.
GreenYesYesYesNoPython test runner.

R

NamexUnitSourceRemarks
RUnitNoOpen source
testthatYesOpen source
tinytestYesOpen source

Rebol

NamexUnitSourceRemarks
Runit

RPG

NamexUnitSourceRemarks
RPGUnitYes

Ruby

NamexUnitSourceRemarks
Test::UnitYesDefault in Ruby 1.8, deprecated from 2.2. It was only a wrapper of minitest.
RSpecBehaviour-driven development framework
Shoulda
microtest
Bacon
minitestYesRuby Gem by Ryan Davis. Default in Ruby >= 1.9, independent gem since 2.2. Recommended by official documentation.
TMF

SAS (Statistical Analysis System)

NamexUnitSourceRemarks
FUTSYesthe Framework for Unit Testing SAS
SCLUnitYesSAS/AF implementation of the xUnit unit testing framework SAS
SASUnitYeswritten fully in SAS, runs with SAS on Windows and Linux

Scala

NamexUnitSourceRemarks
Rehersalwith JMock like Expectations and natural language test names.
ScalaCheckNoSimilar to QuickCheck.
ScalaTestScalable Test Framework - supports different styles of testing: TDD, BDD, and more. Supports Scala.js.
ScUnitJUnit-style testing with fixture method injection and matchers for assertion.
specs2Behavior Driven Development
μTestSupports Scala.js

Scilab

NamexUnitSourceRemarks
Scilab test_runYesProvided by default by Scilab

Shell

NamexUnitSourceRemarks
assert.shLGPL licensed. Lightweight.
bash_unitbash unit testing enterprise edition framework for professionals. GPL-3.0 License
batsthe Bash Automated Testing System. TAP-compliant. MIT license
ATFBSD license. Originally developed for NetBSD operating system but works well in most Unix-like platforms. Ability to install tests as part of a release.
jshuSimplified Shell Unit Testing for Jenkins/Hudson
RoundupNo
ShUnitYes
shUnit2YesOriginally developed for log4sh
filterunitTest framework for filters and other command-line programs
ShellSpecBDD style unit testing framework. Supports all POSIX compliant shells including Bash, Dash, Ksh and Zsh. Nestable blocks that realize local scope and easy mocking. Parallel execution. RSpec-like/TAP/JUnit XML Reporter. Code coverage integration. MIT license.

Simulink

NamexUnitSourceRemarks
slUnit
Simulink TestTest execution, test assessment, reporting.
TPTYesTime Partition Testing: Automated interface analysis, testframe generation, test execution, test assessment, reporting. For Simulink (or TargetLink) models under test, TPT supports automatic test frame generation including automatic interface analysis as well as automatic test execution, evaluation and logging. Back-to-back tests can be executed automatically between MiL and SiL.

Smalltalk

NamexUnitSourceRemarks
SUnitYesThe original source of the xUnit design

Structured Query Language (SQL), Database procedural languages

SQL

NamexUnitSourceRemarks
SQLUnit
DbFitCompare FitNesse.

MySQL

NamexUnitSourceRemarks
STK/UnitYes
MyTAPYes
utMySQLYes

Procedural Language for SQL (PL/SQL)

NamexUnitSourceRemarksActive
utPLSQLYesOriginally developed by Steven Feuerstein, the current version is a completely rewrite by various developers, an open source unit testing framework for PL/SQL development inspired by the JUnit and xUnit frameworks. Has a rich assertion library, and generates code coverage reports as well. Tests can be run straight from the database, or using the command-line interface that is part of the project.Yes
Code Tester for OracleA commercial PL/SQL testing tool originally from Quest Software (the makers of Toad) and Steven Feuerstein. Quest Software was acquired by Dell in 2012 to form Dell Software. On November 1, 2016, the sale of Dell Software to Francisco Partners and Elliott Management Corporation was completed, and the company relaunched as Quest Software.Yes
SQL DeveloperOracle includes a Unit Tester as part of the free SQL Developer application.Yes
pl/unitPL/Unit is a unit testing framework that provides the functionality to create unit tests for PL/SQL code. PL/Unit is expressed as one package that is compiled into the database and made available for use by PL/SQL unit tests.No
PL/SQL Unit Testing for Oracle (PLUTO)YesOpen source unit testing framework modeled after JUnit and based on the Oracle PL/SQL object systemNo
ruby-plsql-specYesPL/SQL unit testing with Ruby open source librariesYes
DBFitWrite, manage and execute tests directly from the browser. DbFit is written on top of FitNesse, a mature, fully featured framework with a large community.Yes

IBM Db2 SQL PL

NamexUnitSourceRemarksActive
db2unitYesdb2unit is an OpenSource framework developed for DB2 LUW. It is a xUnit/jUnit style framework for SQL-PL routines and it requires DB2 v9.7 or higher.Yes

PostgreSQL

NamexUnitTAPSourceRemarksActive
EpicEpic is a unit test framework for PostgreSQL stored procedures. It requires PG 8.1 or higher.No
pgTAPYesYesWrite tests in SQL or xUnit-style functions.Yes
PGtoolsSchema loading and testing tools for PostgreSQL.No
PGUnitYesNoxUnit-style framework for stored procedures.No

Transact-SQL

NamexUnitSourceRemarks
tSQLtYesIncludes mocking framework, continuous integration support and uses SQL Test as a GUI
TSQLUnitYes
utTSQLYes
Visual Studio Team Edition for Database Professionals
Alcyone SQL UnitYesIncludes GUI for writing tests and maintaining data table files.
T.S.T.
SlackerYesBased on RSpec

Swift

NamexUnitSourceRemarks
QuickA behavior-driven development test framework for Swift and Objective-C.
SleipnirA BDD-style framework for Swift.
XCTestYesDerived from OCUnit.

SystemVerilog

NamexUnitSourceRemarks
SVUnitSVUnit: SVUnit is a unit test framework for developers writing code in SystemVerilog.
VUnitYesVUnit is an open source unit testing framework for VHDL and SystemVerilog

TargetLink

NamexUnitSourceRemarks
TPTTime Partition Testing: For TargetLink models under test, TPT supports automatic test frame generation including automatic interface analysis as well as automatic test execution, evaluation and logging. Back-to-back tests can be executed automatically between MiL and SiL.

Tcl

NamexUnitSourceRemarks
tcltest
tclUnitYes
t-unit

TinyOS, nesC

NamexUnitSourceRemarks
TUnitYesEmbedded multi-platform wireless testing and characterization

TypeScript

NamexUnitSourceRemarks
tsUnitYes
OscarYes
AlsatianYes
fast-checkSimilar to QuickCheck.
Testy.TsTypesScript test framework running on node.js

VHSIC Hardware Description Language (VHDL)

NamexUnitSourceRemarks
VUnitYesVUnit is an open source unit testing framework for VHDL and SystemVerilog

Visual FoxPro

NamexUnitSourceRemarks
FoxUnit

XML (Extensible Markup Language)

NamexUnitSourceRemarks
XUnitfor testing native XML programs, individual XSLT templates, and Java programs that deal with XML data
WUnitfor testing Web applications tests are written in XML/XPath (XUnit), AJAX applications are supported, can also test server-side functions if they are made with Java servlets (for example, it is possible to store authoritatively an object in the user session server-side without sending an HTTP request and then get with HTTP the page that renders it)
SOAtestNoCommercial. Parasoft's full-lifecycle quality platform for ensuring secure, reliable, compliant business processes.
XMLUnitYesPlugin for JUnit and NUnit, allowing Assertion-style tests to be written for XSLT documents in Java or C#
Vibz AutomationNoOpen Source. Vibzworld's Fully featured Open source test framework.

Extensible Stylesheet Language Transformations (XSLT)

NamexUnitSourceRemarks
juxya library for unit testing XSLT stylesheets from Java
Tennison Testsallows to write unit-tests in XML, exercising XSLT from Apache Ant. When incorporated in a continuous integration environment, it allows to run multiple XSLT tests as part of a build, failing the build when they go wrong.
UTF-Xunit testing framework for XSLT that strongly supports the test-first-design principle with test rendition and test validation features
XMLUnitYesPlugin for JUnit and NUnit, allowing Assertion-style tests to be written for XSLT documents in Java or C#
XSLTunitProof of concept unit testing framework for XSLT
XSpecXSpec is a Behavior Driven Development (BDD) framework for XSLT and XQuery. It is based on the Spec framework of RSpec, which is a BDD framework for Ruby.
Another XSLTUnitThis framework allow develop your XSLTs and validate the outputs against XSD files, It supports Maven 3 and JUnit reports.

See also