list of unit testing frameworks
{{Short description|none}}
{{Multiple issues|
{{Cleanup bare URLs|date=August 2022}}
{{Cleanup list|date=April 2018}}
}}
This is a list of notable test automation frameworks commonly used for unit testing. Such frameworks are not limited to unit-level testing; 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 {{endash}} generating test input data and running a test with the generated data
- Fixtures: Whether supports test local fixtures {{endash}} associating a test environment with a single test
- Group fixtures: Whether supports group fixtures {{endash}} 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=
{{Further|ABAP}}
class="wikitable sortable" | |||
Name | xUnit | Source || Remarks | |
---|---|---|---|
ABAP Unit | {{Yes}} | {{cite web|url=http://help.sap.com/saphelp_nw2004s/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm |title=SAP Library - ABAP - Analysis Tools |publisher=Help.sap.com |access-date=2012-11-12}} | since SAP NetWeaver 2004 |
TEST.easy | {{cite web|url=https://rteasy.soprasteria.de/en/rt-easy-solutions/test-easy |title=TEST.easy for SAP test automation}} | since SAP NetWeaver 7.02 SP13 |
=Active Server Pages (ASP)=
{{Further|Active Server Pages}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
ASPUnit | {{cite web|url=http://aspunit.sourceforge.net/|title=ASPUnit: an ASP Unit Testing Framework|website=sourceforge.net|access-date=23 June 2015}} |
=Ada=
{{Further|Ada (programming language)}}
=Ant=
For Apache Ant tasks.
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
AntUnit | {{cite web|url=http://ant.apache.org/antlibs/antunit/ |title=Apache Ant - Apache AntUnit |publisher=Ant.apache.org |date=2011-08-16 |access-date=2012-11-12}} |
=AppleScript=
For AppleScript.
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
ASUnit | {{Yes}} | {{cite web|url=http://nirs.freeshell.org/asunit/|title=ASUnit|website=freeshell.org|access-date=23 June 2015}} | influenced by SUnit, ASTest and Python unittest |
ASTest | {{Yes}} | {{cite web |url=http://applemods.sourceforge.net/mods/Development/ASTest.php |title= ASTest.PHP|website=applemods.sourceforge.net |archive-url=https://web.archive.org/web/20060716115058/http://applemods.sourceforge.net/mods/Development/ASTest.php |archive-date=July 16, 2006}} |
=ASCET=
{{Further|ETAS#ASCET}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
TPT | {{Yes}} | {{cite web |url=https://piketec.com/tpt/ |title=TPT - real time testing embedded control software |publisher=Piketec.com |access-date=2021-04-09}} | Model based physical stimulation and implemented stimulation |
=Bash=
{{Further|Bash (Unix shell)}}
=BASIC=
{{Further|BASIC}}
==Visual Basic (VB6.0)==
{{Further|Visual Basic}}
For unit testing frameworks for VB.NET, see .NET languages.
==Xojo (REALbasic)==
{{Further|Xojo}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
RBUnit | {{No}} | {{cite web |url=http://logicalvue.com/blog/2007/02/rbunit-is-now-free/ |title=RBUnit is now Free! |publisher=LogicalVue |access-date=2012-11-12 |url-status=dead |archive-url=https://web.archive.org/web/20080821104846/http://www.logicalvue.com/blog/2007/02/rbunit-is-now-free/ |archive-date=2008-08-21}} | |
XojoUnit | {{Yes}} | {{cite web|url=https://github.com/xojo/xojounit |title=XojoUnit - Xojo Unit testing framework |website=GitHub |access-date=2020-06-18}} | Unit testing framework for Xojo that works with Desktop, Web and iOS project types. |
=Business Process Execution Language (BPEL)=
{{Further|Business Process Execution Language}}
=C=
{{Further|C (programming language)}}
=C#=
{{Further|C Sharp (programming language)}}
See .NET languages below.
=C++=
{{Further|C++}}
class="wikitable sortable" |
Name
! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
---|
Aeryn
| | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | |
API Sanity Checker
| {{LGPL-lic}} | {{Yes}} | {{Yes}} (spectypes) | {{Yes}} (spectypes) | {{Yes}} | | | | | | Unit test generator for C/C++ libraries. Can automatically generate reasonable input data for every API function. LGPL. |
ATF
| {{BSD-lic}} | | | | | | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Originally developed for the NetBSD operating system but works well in most Unix-like platforms. Ability to install tests as part of a release. |
Bandit
| {{Free|MIT}} | {{No}} (describe/it) | {{Yes}} (describe) | {{Yes}} (Nested describe) | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} (Nested describe) | Header only. Automatic test registration. Specifically developed for C++11 |
Boost Test Library
| {{Free|Boost}} | {{Yes}}Rozental, Gennadiy and Enficiaud, Raffi [https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost_test/tests_organization/fixtures/case.html "Boost Test Case Fixture"].Rozental, Gennadiy and Enficiaud, Raffi [https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost_test/tests_organization/fixtures/per_test_suite_fixture.html "Boost Test Suite Entry/Exit Fixture"]. | {{Yes}} | With additional library "Turtle"{{cite web|url=http://turtle.sourceforge.net/|title=Turtle|website=sourceforge.net}} | {{Yes}} | User decision | {{Yes}} | Suites and labels | Part 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. |
BugEye
| {{Free|Boost}} | {{No}} | {{No}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | Header-only. TAP output. |
QA Systems Cantata
| Proprietary | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Commercial. 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. |
Casmine
| {{Free|GPL 2.0}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | C++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 Catch2
| {{Free|Boost}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Header only, no external dependencies, auto-registration, tdd and bdd features |
CATCH-VC6
| | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | VC6 port of CATCH |
cfix
| | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | | Specialized for Windows development—both Win32 and NT kernel mode. Compatible to WinUnit. |
Cput
| | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | | {{Yes}} | {{Yes}} | {{No}} | Suites |{{cite web|url=http://cput.codeplex.com/|title=cput|website=CodePlex|access-date=23 June 2015}} | Library and MS Visual Studio add-in to create and run unit tests. Open Source. |
CPPOCL/test
| {{Free|Apache 2}} | {{No}} | {{Yes}} | | {{No}} | | {{Yes}} | {{Yes}} | | | Released 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. |
CppTest
| {{LGPL-lic}} | | {{Yes}} | | | | | {{Yes}} | | Suites | Released under LGPL |
cpptest-lite
| {{Free|MIT}} | | {{Yes}} | | | | {{Yes}} | {{Yes}} | | Suites | Released under MIT. Developed for C++11. |
CppUnit
| {{LGPL-lic}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | Suites |{{cite web |url=http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page |title=cppunit |publisher=SourceForge.net |date=2009-11-23 |access-date=2012-11-12 |url-status=dead |archive-url=https://web.archive.org/web/20121109171716/http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page |archive-date=2012-11-09}}{{cite web|url=http://freedesktop.org/wiki/Software/cppunit/|title=cppunit|date=18 May 2013|access-date=6 November 2013|publisher=Freedesktop.org}} | Released under LGPL |
Name
! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
CppUTest
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{No}} | Suites | Limited 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 |
CppUnitLite
| | {{Yes}} | | | {{No}} | {{No}} | {{No}} | {{Yes}} | {{No}} | Suites | |
CPUnit
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{yes}} | {{yes}} | {{yes}} | {{yes}} | Released under BSD. |
Criterion
| {{Free|MIT}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Suites | Unit 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. |
libcester
| {{Free|MIT}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | File | A 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. |
crpcut
| | {{No}} | {{Yes}} | | {{No}} | {{No}} | | {{Yes}} | {{Yes}} | Suites within Suites | BSD 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. |
CUTE
| | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | | | Suites | CUTE (C++ Unit Testing Easier) with Eclipse CDT integration. Single line include, without inheritance. Mock support is provided by Mockator. |
cutee
| | {{No}} | {{No}} | {{No}} | {{No}} | | | | | | |
CxxTest
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}}* | Optional | {{Yes}} | {{No}} | Suites |{{cite web|url=http://cxxtest.com/|title=CxxTest|website=cxxtest.com}} | Uses a C++ parser and code generator (requiring Python) for test registration. * Has framework to generate mocks of global functions, but not of objects. |
doctest
| {{Free|MIT}}{{Cite web|url=https://github.com/onqtam/doctest/blob/master/LICENSE.txt|title=doctest licence|website=GitHub|access-date=2019-01-09}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Light, feature rich C++ single header testing framework |
Embunit
| | {{No}} | | | | {{No}} | {{Yes}} | | | | Commercial. Create unit tests for C/C++ and Embedded C++ |
Exercisix
| {{BSD-lic}} | {{No}} | {{No}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Executables | Goal: make adding tests as fast and easy as possible. |
FakeIt
| {{Free|MIT}} | | | | | {{Yes}} | | | | | Use the latest C++11 features to create an expressive, yet very simple, API. |
FCTX
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | Fast and complete unit testing framework all in one header. Declare and write your functions in one step. No dependencies. Cross platform. |
Fructose
| | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | A simple unit test framework. |
Name
! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
Google C++ Mocking Framework
| | | | | | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | | |
Google Test
| {{BSD-lic}} | {{Yes}} | {{Yes}} | | | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | | Supports 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. |
Hestia
| {{Free|MIT}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Suites | Open 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. |
Hippomocks
| | | | | | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | | |
Igloo
| | | {{Yes}} (Contexts) | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} (nested contexts) | BDD style unit testing in C++ |
lest
| | {{No}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | Tiny header-only C++11 test framework |
liblittletest
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Portable, one file header-only C++ library for unit testing. Supports a rich set of assertions, automatic test discovering, various options for running the tests. |
libunittest
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Portable C++ library for unit testing, uses C++11. |
mettle
| {{BSD-lic}} | | | | | | | | | |
Microsoft Unit Testing Framework for C++
| Proprietary | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Commercial. Integrated into Microsoft Visual Studio 2012 IDE and later versions. |
Mimicc
|Proprietary | | | | | {{Yes}} | | | | |Fully 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. |
Mockator
| | | | | | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | | Header-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++/mockcpp
| | {{Yes}} | {{Yes}} | | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Suites | Simple testing framework for C++ (requires cmake) |
mockitopp
| | | | | | {{Yes}} | | | | | A C++ mock object framework providing similar syntax to mockito for Java. |
mockpp
| | {{Yes}} | {{Yes}} | | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Suites | A C++ mocking framework hosted by Google |
Name
! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
NanoCppUnit
| | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | Suites | Proof-of-concept |
NullUnit
| | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Suites | Low 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. |
OAKUT
| | {{No}} | {{No}} | {{Yes}} | {{Yes}} (XML) | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | XML | Uses shared libraries / DLLs |
Opmock
| {{GPL-lic}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | Stubbing 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++test
| Proprietary | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} with proper configuration | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Commercial. 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. |
snitch
| {{Free|Boost}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Lightweight C++20 testing framework without heap allocations |
QtTest
| {{LGPL-lic}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}}{{cite web|url=http://doc.qt.io/qt-5/qtest.html#QVERIFY_EXCEPTION_THROWN |title=since Qt5}} | {{No}} | {{No}} | | Built on the ultra cross platform Qt Library. Allows testing on Windows, macOS, Linux, BSD, Symbian, and any other platform Qt can build on. |
QuickCheck++
| | | | | | | | | | |{{cite web|url=http://software.legiasoft.com/quickcheck/|title=QuickCheck++}} | Framework for automatically generating tests. Inspired by QuickCheck |
QuickTest
| | {{No}} | {{No}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} |{{cite web|url=http://quicktest.sf.net|title=QuickTest|website=sf.net|access-date=23 June 2015}} | |
Rexo
| Public domain | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | Framework for C89/C++ featuring automatic registration of tests and a polished API. |
SafetyNet
| | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | Lightweight 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 |
ShortCUT
| | {{No}} | | | | | | | | {{Yes}} | |
STRIDE
| Proprietary | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Commercial. Embedded software quality solution that includes techniques for unit, API, Behavior & Integration testing as well as interactive reporting portal |
Name
! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
Symbian OS Unit
| | {{Yes}} | | | | | | | | | Based on CxxTest |
TBrun
| Proprietary | | | | | | | | | | Commercial. Generators available across another component named TBExtreme |
Tau
| {{Free|MIT}} | {{Yes}} | {{Yes}} | | | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | | A 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. |
Tessy
| Proprietary | | | | | | | | | | Commercial. |
TDOG
| | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Macro (namespaces) | TDOG is a lightweight, portable and open source C++ xUnit Testing Framework. |
Test soon
| | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | Auto-detect | {{Yes}} | {{Yes}} | Macro (namespaces) | Complex macro logic (deliberately) |
Testwell CTA++
| Proprietary | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | | Commercial. |
tpunit++
| | {{Yes}} | {{Yes}} | | {{No}} | {{No}} | {{Optional}} | {{Yes}} | {{Yes}} | | A simple, portable C++ xUnit library contained in a single header. |
TPT
| Proprietary | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Depends}} | {{Depends}} | {{Yes}} | Time 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. |
Trompeloeil
| {{Free|Boost}} | | | | | {{Yes}} | | | | | Simple, yet powerful, single header framework for mocking. Requires C++14. |
TUT
| | {{No}} | {{No}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Templates |{{cite web |url=http://tut-framework.sourceforge.net/ |title=TUT: C++ Template Unit Test Framework}} | Based on templates. Automatic test registration/discovery, customizable reports generation process, various tests run options. Easy adaptable to work on Windows CE. |
Typemock Isolator++
| | {{Yes}} | {{Yes}} | | | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | | Commercial. Isolation/Mocking Framework for C/C++ |
Unit++
| | | | | | | | | | | |
unit.hpp
| | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | | Extremely 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++
| | {{No}} | {{Yes}} | {{Yes}} | | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | Suites | UnitTest++ is free software. Simplicity, portability, speed, and small footprint are all important aspects of UnitTest++. |
upp11
| | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Free software. Minimal (single small header), auto test registrations, parametrized tests, etc. C++11 only. |
UquoniTest
| Proprietary | {{Yes}} | {{Yes}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Commercial. Adds features like easy creation of (reusable) test directories, Rich Booleans in assertions, and more. |
μt
| {{Free|Boost}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{Yes}} | {{No}} | {{Yes}} | {{Yes}} |{{Cite web|url=https://github.com/boost-experimental/ut|title=ut|website=GitHub|date=March 2022}} |C++20 single header/single module, macro-free μ(micro)/Unit Testing Framework with no dependencies. |
VectorCAST/C++
| Proprietary | {{No}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Commercial. Automated unit and integration testing, and code coverage. |
Visual Assert
| | {{Yes}} | {{Yes}} | {{No}} | {{No}} | {{No}} | {{Yes}} | {{Yes}} | {{No}} | | Unit-Testing Add-In for Visual Studio. Based on the cfix testing framework. |
WinUnit
| | | | | | | | | | | Focused more toward C/C++ than .NET developers |
Name
! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
xTests
| | | | | | | {{Yes}} | {{Yes}} | | | Depends on STLSoft C & C++ Libraries |
xUnit++
| | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | | {{Yes}} | {{Yes}}, | {{Yes}} | {{Yes}}, | Supports running tests concurrently. Macros are used for test setup only, not for test assertions. |
tinytest
| {{Free|Apache 2}} | {{Yes}} | | | | | | {{Yes}} | | | Standalone, no dependencies, header-only. |
sTest
| {{Free|MIT}} | | | | | | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | Lightweight (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. |
class="sortbottom"
! Name ! License ! xUnit ! Fixtures ! Group fixtures ! Generators ! Mocks ! Exceptions ! Macros ! Templates ! Grouping ! Source ! Remarks |
=C for Graphics (Cg)=
{{Further|Cg (programming language)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
UnitTestCg | {{No}} | {{cite web|url=https://github.com/jtilander/unittestcg|title=unittestcg - UnitTestCg is a unittest framework for Cg and HLSL programs|website=google.com|date=24 March 2015|access-date=2016-07-27}} | Pixel and Vertex Shaders supported. |
=COBOL=
{{Further|COBOL}}
=ColdFusion (CFML)=
{{Further|ColdFusion}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
CFUnit | No longer maintained. | ||
cfcUnit | {{Yes}} | ||
MXUnit | {{Yes}} | {{cite web|url=http://mxunit.org|title=MXUnit - Unit Test Framework and Eclipse Plugin for Adobe ColdFusion|website=mxunit.org}} | Unit Test Framework with Eclipse and Sublime Text Plugins for CFML on ColdFusion, Railo, and Lucee |
TestBox | {{Yes}} | xUnit and Behavior Driven Testing Framework for CFML ColdFusion, Railo, and Lucee | |
MockBox | {{No}} | Mocking/Stubbing Framework for CFML (ColdFusion) |
=Crystal=
{{Further|Crystal (programming language)}}
class="wikitable sortable" | ||||
Name | xUnit | Source | Remarks | |
---|---|---|---|---|
Crotest | {{cite web|url=https://github.com/emancu/crotest|title=Crotest|website=GitHub.com|date=February 2022}} | MIT License. A tiny and simple test framework for Crystal with common assertions and no pollution into Object class. |
=Curl=
{{Further|Curl (programming language)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
CurlUnit | {{cite web|url=http://curlunit.sourceforge.net/|title=CurlUnit 1.0|website=sourceforge.net}} |
=DataFlex=
{{Further|DataFlex}}
class="wikitable sortable" | |||
Name | xUnit | Source || Remarks | |
---|---|---|---|
DFUnit | {{Yes}} | {{cite web|url=https://github.com/olaeld/DFUnit |title=DFUnit GitHub project|website=GitHub|date=25 June 2018}} |
=Delphi=
{{Further|Embarcadero Technologies}}
class="wikitable sortable" | |||
Name | License | Source || Remarks | |
---|---|---|---|
DUnit | "AS IS" | {{cite web|url=https://dunit.sourceforge.net/ |title=DUnit An Xtreme testing framework for Borland Delphi programs|website=SourceForge|date=17 July 2006}} | Support FastMM4 |
DUnitX | Apache 2.0 | {{cite web|url=https://github.com/VSoftTechnologies/DUnitX |title=DUnitC GitHub project|website=GitHub|date=27 March 2024}} | Support FastMM4, FastMM5, Delphi-Mocks |
=ECMAScript=
{{Further|ECMAScript}}
==ActionScript, Apache Flex==
{{Further|ActionScript|Apache Flex}}
==Haxe==
{{Further|Haxe}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
munit | {{cite web|url=https://github.com/massiveinteractive/MassiveUnit |title=massiveinteractive/MassiveUnit |website=GitHub.com |access-date=2012-11-12}} | Produces HTML reports for multiple compile targets including JavaScript, ActionScript and C++ | |
hexUnit | {{cite web|url=https://github.com/DoclerLabs/hexUnit |title=DoclerLabs/hexUnit |website=GitHub.com |access-date=2018-04-18}} |
==JavaScript==
{{Further|JavaScript}}
=Erlang=
{{Further|Erlang (programming language)}}
class="wikitable sortable" | ||||||
Name | xUnit | Fixtures | Group Fixtures | Generators | Source | Remarks |
---|---|---|---|---|---|---|
EUnit | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{cite web |url=http://svn.process-one.net/contribs/trunk/eunit/doc/overview-summary.html |title= EUnit - a Lightweight Unit Testing Framework for Erlang|website=svn.process-one.net |archive-url=https://web.archive.org/web/20080719040633/http://svn.process-one.net/contribs/trunk/eunit/doc/overview-summary.html |archive-date=July 19, 2008}} | Included in Erlang release R12B5 and later |
=F#=
{{Further|F Sharp (programming language)}}
=Fortran=
MPI column: Whether supports message passing via MPI - commonly used for high-performance scientific computing
{{Further|Fortran}}
=Go=
{{Further|Go (programming language)}}
class="wikitable"
!Name !Source !Remarks |
go test
| |'Go test' automates testing the packages named by the import paths. |
go2xunit
|{{Yes}} |Converts |
=Groovy=
{{Further|Apache Groovy}}
All entries under Java may also be used in Groovy.
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
easyb | {{cite web|url=http://www.easyb.org/|title=easyb|website=easyb.org}} | BDD | |
Spock | {{Yes}} | {{cite web|url=https://github.com/spockframework |title=spock - the enterprise ready specification framework |website=GitHub.com |access-date=2016-07-27}} | BDD with built-in Mocking and Spy capabilities. |
Gmock | {{Yes}} | {{cite web|url=https://code.google.com/p/gmock/ |title=gmock - A Mocking Framework for Groovy |website=Google Project Hosting |date=2011-12-13 |access-date=2012-11-12}} | Mocking Framework |
=Haskell=
{{Further|Haskell}}
=High-Level Shader Language (HLSL)=
{{Further|High-Level Shader Language}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
UnitTestCg | {{No}} | Pixel and Vertex Shaders supported. |
=Identity management=
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
IdMUnit | {{Yes}} | {{cite web|url=http://idmunit.sourceforge.net/|title=IdMUnit.org|author=TriVir|website=sourceforge.net}} | Unit testing framework designed for identity provisioning and access management workflows. |
1 |
=IGOR Pro=
{{Further|IGOR Pro}}
class="wikitable sortable" | ||||||
Name | TAP | xUnit | Fixtures | Group fixtures | Source | Remarks |
---|---|---|---|---|---|---|
UTF | {{Yes}} | {{Yes}} | {{Yes}} | {{Yes}} | {{cite web|url=https://github.com/byte-physics/igor-unit-testing-framework|title=Igor Unit Testing Framework|website=GitHub.com |access-date=2018-10-11}} | Compatible with versions 6/7/8 |
=Interactive Data Language (IDL)=
{{Further|IDL (programming language)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
MGunit | {{Yes}} | {{cite web|url=https://github.com/mgalloy/mgunit|title=mgunit|first=Michael|last=Galloy|website=GitHub.com |access-date=2015-09-27}} | |
white paper | {{cite web |url=http://www.barnett.id.au/idl/UnitRun.html |title= Unit testing|website=www.barnett.id.au |archive-url=https://web.archive.org/web/20070304194538/http://www.barnett.id.au/idl/UnitRun.html |archive-date=March 4, 2007}} | Only a white paper, not a framework |
=HTTP request=
{{Further|HTTP request}}
=Java=
{{Further|Java (programming language)}}
=LabVIEW=
{{Further|LabVIEW}}
=Lasso=
{{Further|Lasso (programming language)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
L-Unit | {{cite web|url=http://www.l-unit.org/|title=zeroloop/l-unit8|website=GitHub}} |
=LaTeX=
{{Further|LaTeX}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
qstest | {{cite web|url=http://www.ctan.org/pkg/qstest |title=Comprehensive TEX Archive Network: Package qstest |publisher=Ctan.org |access-date=2013-07-04}} |
=Lisp=
{{Further|Lisp (programming language)}}
==AutoLISP, Visual Lisp==
{{Further|AutoLISP}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
vl-unit | {{cite web|url=https://code.google.com/p/vl-unit/ |title=vl-unit - Visual Lisp Unit testing framework |website=Google Project Hosting |access-date=2012-11-12}} | Unit testing framework for Visual Lisp. |
==Clojure==
{{Further|Clojure}}
==Common Lisp==
{{Further|Common Lisp}}
==Emacs Lisp==
{{Further|Emacs Lisp}}
==Racket==
{{Further|Racket (programming language)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
rackunit | {{Yes}} | {{cite web|url=http://docs.racket-lang.org/rackunit/api.html?q=rackunit |title=3 RackUnit API |publisher=Docs.racket-lang.org |access-date=2012-11-12}} | Open source |
Overeasy | {{No}} | {{cite web|author=Neil Van Dyke |url=http://www.neilvandyke.org/overeasy/ |title=Overeasy: Racket Language Test Engine |publisher=Neilvandyke.org |access-date=2012-11-12}} | Open source |
==Scheme==
{{Further|Scheme (programming language)}}
=Lua=
{{Further|Lua (programming language)}}
=MATLAB=
{{Further|MATLAB}}
=.NET=
{{Further|.NET}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
Atata | {{Yes}} | {{cite web|url=https://github.com/atata-framework/atata|title=atata-framework/atata|website=GitHub.com|date=22 June 2022}} | Test automation full featured framework based on Selenium WebDriver. |
csUnit | {{Yes}} | includes 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.NET | {{cite web|url=http://dbunit-net.sourceforge.net/|title=DbUnit.NET|website=sourceforge.net}} | A .NET 2.0 unit testing framework for database access code | |
ErrorUnit | {{cite web|url=http://ErrorUnit.com/|title=ErrorUnit|website=ErrorUnit.com}} | Generates Unit Tests from logged error's, or paused Visual Studio's call stack; Mocks parameters, class values, EF Data accessed so far. | |
Fixie | {{Yes}} | {{cite web|url=https://github.com/plioi/fixie|title=fixie/fixie|website=GitHub|date=27 June 2022}} | Based on NUnit and xUnit, with an emphasis on customization through user-defined conventions. Integrates with TestDriven.NET. |
FluentAssertions | {{Yes}} | ||
Foq | {{No}} | Lightweight type-safe and thread-safe mock object library for F# with C# support. | |
Gallio | {{cite web|url=http://gallio.org|title=mb-unit - The Gallio test automation platform and MbUnit unit testing framework|website=gallio.org}} | Extensible, 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. | |
LightBDD | {{Yes}} | {{cite web|url=https://github.com/LightBDD/LightBDD|title=LightBDD/LightBDD: BDD framework allowing to create easy to read and maintain tests|website=GitHub.com|date=29 June 2022}} | Lightweight Behavior Driven Development test framework |
MbUnit | {{Yes}} | {{cite web|url=http://mbunit.com|title=mb-unit - The Gallio test automation platform and MbUnit unit testing framework|website=mbunit.com}} | Extensible, model-based nUnit compatible framework. Part of the Gallio Test Automation Platform. |
Moq | {{Yes}} | {{cite web|url=https://github.com/Moq/moq4|title=moq - The simplest mocking library for .NET and Silverlight|website=google.com|date=30 June 2022}} | Moq is a .NET Framework library for creating mock objects. It leverages C# 3.0 lambda expressions, typically used in Test Driven Development. |
MSTest | {{No}} | A 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. | |
NaturalSpec | {{No}} | Domain-specific language for writing specifications in a natural language. Based on NUnit. | |
NBi | {{Yes}} | {{cite web|url=http://www.nbi.io/|title=NBi}} | Data 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. |
NFluent | {{cite web|url=http://www.n-fluent.net/|title=NFluent speeds up and eases the way you write your assertions}} | Fluent assertion library, to be used on top of any testing framework. Make tests easier to read and generate rich error messages on test failure. | |
NMate | {{cite web|url=https://code.google.com/p/nmate|title=nmate - Open Source Unit-Test Code Generation and Integration Add-in for Visual Studio|website=Google Project Hosting}} | NUnit and PartCover Code Generation and integration Addin for Microsoft Visual Studio 2005/2008 | |
Nuclear.Test | {{No}} | {{cite web|url=https://mikelimasierra.net/index.php/software-projects/nuclear-test-platform/|title=Unit test platform for .NETStandard, .NETFramework, .NETCore}} | Command line based unit test platform that can handle .NETStandard and other flavors of .NET, integrates into Visual Studio as external Tool. |
NUnit | {{Yes}} | includes GUI, command line, integrates into Visual Studio with ReSharper | |
NUnitAsp | Based on NUnit | ||
Pex | {{Yes}} | {{cite web|url=http://research.microsoft.com/en-us/projects/Pex|title=Pex, Automated White box Testing for .NET - Microsoft Research|publisher=Microsoft|website=microsoft.com|access-date=23 June 2015}} | Microsoft Research project providing White box testing for .NET, using the Z3 constraint solver to generate unit test input (rather than Fuzzing). |
Quality Gate One Studio | {{No}} | {{cite web|url=http://www.qgonestudio.com/|title=Home|website=qgonestudio.com|access-date=23 June 2015}} | Commercial/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.net | {{No}} | {{cite web |url=http://www.quickunit.com/ |title=QuickUnit - the Interactive Unit Test Designer - Home |website=www.quickunit.com |access-date=15 January 2022 |archive-url=https://web.archive.org/web/20100327091120/http://www.quickunit.com/ |archive-date=27 March 2010 |url-status=dead}} | Implement unit tests without coding. Minimalist approach to test driven development. |
Randoop.NET | {{Yes}} | {{cite web|url=https://github.com/abb-iss/Randoop.NET|title=abb-iss/Randoop.NET|website=GitHub|access-date=23 June 2015}} | Automatically finds bugs and generates unit tests for .NET, via feedback-directed random testing (a variant of Fuzzing). |
Rhino Mocks | {{Yes}} | {{cite web |url=http://www.ayende.com/projects/rhino-mocks.aspx |title=Ayende @ Rahien |publisher=Ayende.com |access-date=2012-11-12}} | A dynamic mock object framework for the .NET framework. |
Roaster | {{Yes}} | {{cite web|url=http://www.codeplex.com/roaster|title=Roaster unit test|website=CodePlex|access-date=23 June 2015}} | NUnit-based framework and tools for the .NET Compact Framework |
SpecFlow | {{Yes}} | {{cite web|url=http://specflow.org/|title=SpecFlow|author=TechTalk|access-date=23 June 2015}} | Behavior Driven Development framework for .NET. Inspired by Cucumber. Integrates with NUnit, MSTest, MbUnit, and others. |
Specter | {{Yes}} | {{cite web|url=http://specter.sf.net/|title=Specter Framework|website=sf.net|access-date=23 June 2015}} | Behavior-driven development with an easy and readable syntax for writing specifications. Includes command line, optional integration with NUnit |
TestDriven.NET | {{cite web|url=http://www.testdriven.net/|title=TestDriven.Net > Home|website=testdriven.net}} | Commercial | |
.TEST | {{Yes}} | {{cite web |url=http://www.parasoft.com/jsp/solutions/dotnet_solution.jsp?itemId=342 |title=NET testing tools: Static code analysis, code review, unit testing with Parasoft dotTEST |publisher=Parasoft.com |access-date=2012-11-12 |archive-url=https://web.archive.org/web/20121103141122/http://www.parasoft.com/jsp/solutions/dotnet_solution.jsp?itemId=342 |archive-date=2012-11-03 |url-status=dead}} | Commercial. Automated software quality solution that includes unit test generation and execution as well as reporting industry standard code coverage. |
TickSpec | {{Yes}} | {{cite web|url=http://tickspec.codeplex.com/|title=TickSpec: An F# BDD Framework|website=CodePlex}} | Behavior-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. |
TPT | {{Yes}} | Time 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 Isolator | {{Yes}} | {{cite web|url=http://www.typemock.org/|archive-url=https://web.archive.org/web/20211224065106/http://typemock.org/|url-status=dead|archive-date=December 24, 2021|title=Smart Unit Testing - Made easy with Typemock|website=typemock.org}} | Commercial unit testing framework with simple API and test code generation features, supports C#, ASP.NET, SharePoint, Silverlight. |
Visual Studio | {{No}} | The 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# | {{Yes}} | {{cite web |url=http://www.prettyobjects.com/en/Products/TSharp |title= Pretty Objects >> Products > Visual T#|website=www.prettyobjects.com |archive-url=https://web.archive.org/web/20110227025822/http://www.prettyobjects.com/en/Products/TSharp |archive-date=February 27, 2011}} | Visual 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.net | {{Yes}} | {{cite web|url=http://xunit.codeplex.com|title=xUnit.net - Unit testing framework for C# and .NET (a successor to NUnit)|website=CodePlex}} |
=Object Pascal, Free Pascal=
{{Further|Object Pascal|Free Pascal}}
class="wikitable sortable" | ||||
Name | xUnit | TAP | Source | Remarks |
---|---|---|---|---|
FPCUnit | {{Yes}} | {{No}} | {{cite web|url=http://camelos.sourceforge.net/fpcUnit.html |title=Index |publisher=Camelos.sourceforge.net |access-date=2012-11-12}} | This is a port to Free Pascal of the JUnit core framework. |
Tap4Pascal | {{No}} | {{Yes}} | {{cite web|url=http://sourceforge.net/projects/tap4pascal |title=Pascal TAP Unit Testing Suite: Free software downloads at |publisher=Sourceforge.net |access-date=2012-11-12}} | A Pascal implementation of the Test Anything Protocol |
FPTest | {{Yes}} | {{No}} | {{cite web|url=https://github.com/graemeg/fptest |title=graemeg/fptest |website=GitHub.com |access-date=2012-11-12}} | This is a fork of DUnit2, for use with the Free Pascal compiler. |
==Delphi==
{{Further|Delphi (software)}}
=Objective-C=
{{Further|Objective-C}}
=OCaml=
{{Further|OCaml}}
=PegaRULES Process Commander=
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
PRUnit | {{Yes}} | {{cite web|url=http://prunit.sourceforge.net/|title=PRUnit SourceForge Project Homepage|website=sourceforge.net}} | xUnit style testing adapted to PRPC |
=Perl=
{{Further|Perl}}
=PHP=
{{Further|PHP}}
=PowerBuilder=
{{Further|PowerBuilder}}
=PowerShell=
{{Further|PowerShell}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
Pester | {{No}} | {{cite web|url=https://github.com/pester/Pester |title=GitHub - pester/Pester |publisher=Microsoft |access-date=2017-06-21}} | a BDD and unit testing framework for PowerShell |
=OpenEdge Advanced Business Language (ABL), Progress 4GL=
{{Further|OpenEdge Advanced Business Language}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
proUnit | {{Yes}} | {{cite web|url=http://prounit.sourceforge.net/|title=Welcome to ProUnit! -- The Progress - OpenEdge unit tests framework|website=sourceforge.net}} | xUnit-style framework for Progress OpenEdge procedures and objects |
OEUnit | {{Yes}} | {{cite web|url=https://github.com/CameronWills/OEUnit|title=CameronWills/OEUnit|website=GitHub|date=24 November 2020}} | xUnit-style framework for Progress OpenEdge procedures and objects |
=Prolog=
{{Further|Prolog}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
PlUnit | {{cite web|url=http://www.swi-prolog.org/pldoc/package/plunit.html |title=Prolog Unit Tests |publisher=Swi-prolog.org |access-date=2012-11-12}} | ||
Dogelog Tester | {{cite web |url=https://www.dogelog.ch/typtab/doclet/docs/15_manual/05_frequent/05_libraries/02_tester/package.html |title=Folder "tester" |publisher=xlog.ch |access-date=2023-01-14 |archive-date=2023-01-14 |archive-url=https://web.archive.org/web/20230114130928/https://www.dogelog.ch/typtab/doclet/docs/15_manual/05_frequent/05_libraries/02_tester/package.html |url-status=dead }} | Provides dump of testresults for different systems, and fusion into single HTML reports |
==Logtalk==
{{Further|Logtalk}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
lgtunit | {{Yes}} | {{cite web|url=https://github.com/LogtalkDotOrg/logtalk3/tree/master/tools/lgtunit |title=lgtunit |publisher=logtalk.org |access-date=2013-10-14}} | Supports code coverage at the predicate clause level, QuickCheck, plus TAP and xUnit output formats. |
=Puppet=
{{Further|Puppet (software)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
Rspec-puppet | {{cite web|url=http://rspec-puppet.com |title=Rspec-puppet |access-date=2017-07-13}} | Rspec-puppet tests the behaviour of Puppet when it compiles a catalog |
=Python=
{{Further|Python (programming language)}}
=R=
{{Further|R (programming language)}}
=Rebol=
{{Further|Rebol}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
Runit | {{cite web|url=http://www.rebol.org/|title=REBOL.org}} |
=RPG=
{{Further|IBM RPG}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
RPGUnit | {{Yes}} | {{cite web|url=http://rpgunit.sourceforge.net/|title=RPGUnit.org - Summary|website=sourceforge.net}} |
=Ruby=
{{Further|Ruby (programming language)}}
=SAS (Statistical Analysis System)=
{{Further|SAS (software)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
FUTS | Yes | {{cite web |url=http://thotwave.com/resources/futs-framework-unit-testing-sas/ |title=FUTS - Framework for Unit Testing SAS |publisher=ThotWave |access-date=2012-11-12 |archive-date=2015-03-13 |archive-url=https://web.archive.org/web/20150313042352/http://thotwave.com/resources/futs-framework-unit-testing-sas/ |url-status=dead}} | the Framework for Unit Testing SAS |
SCLUnit | Yes | {{cite web|url=http://www.sascommunity.org/mwiki/index.php?title=SclUnit&redirect=no |title=SclUnit |publisher=sasCommunity |date=2008-10-26 |access-date=2012-11-12}} | SAS/AF implementation of the xUnit unit testing framework SAS |
SASUnit | Yes | {{cite web|url=https://sourceforge.net/projects/sasunit/ |title=SASUnit: Free Development software downloads at |publisher=Sourceforge.net |access-date=2012-11-12}} | written fully in SAS, runs with SAS on Windows and Linux |
=Scala=
{{Further|Scala (programming language)}}
=Scilab=
{{Further|Scilab}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
Scilab test_run | {{Yes}} | {{cite web|url=http://help.scilab.org/docs/current/en_US/test_run.html |title=test_run - Launch tests |publisher=Help.scilab.org |date=2011-11-21 |access-date=2012-11-12}} | Provided by default by Scilab |
=Shell=
{{Further|Shell (computing)}}
=Simulink=
{{Further|Simulink}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
slUnit | {{cite web | url=http://mlunit.sourceforge.net/index.php/The_slUnit_Testing_Framework | title=MlUnit | date=13 July 2015 }} | ||
Simulink Test | {{Cite web|url=https://www.mathworks.com/products/simulink-test.html|title = Simulink Test}} | Test execution, test assessment, reporting. | |
TPT | {{Yes}} | Time 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=
=Structured Query Language (SQL), Database procedural languages=
{{Further|SQL|Database|Procedural language|Query language}}
==SQL==
{{Further|SQL}}
==MySQL==
{{Further|MySQL}}
==Procedural Language for SQL (PL/SQL)==
{{Further|PL/SQL}}
==IBM Db2 SQL PL==
{{Further|IBM Db2|SQL PL}}
class="wikitable sortable" | ||||
Name | xUnit | Source | Remarks | Active |
---|---|---|---|---|
db2unit | {{Yes}} | {{cite web|url=https://github.com/angoca/db2unit|title=angoca/db2unit|website=GitHub|date=2019-02-15}} | db2unit 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==
{{Further|PostgreSQL}}
==Transact-SQL==
{{Further|Transact-SQL}}
=Swift=
{{Further|Swift (programming language)}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
Quick | {{cite web|url=https://github.com/Quick/Quick|title=Quick/Quick|website=GitHub|date=2019-08-28}} | A behavior-driven development test framework for Swift and Objective-C. | |
Sleipnir | {{cite web|url=https://github.com/railsware/Sleipnir|title=railsware/Sleipnir|website=GitHub|date=2019-08-27}} | A BDD-style framework for Swift. | |
XCTest | {{Yes}} | Derived from OCUnit. |
=SystemVerilog=
{{Further|SystemVerilog}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
SVUnit | {{cite web|url=http://sourceforge.net/projects/svunit/ |title=SVUnit Sourceforge page |access-date=2014-05-06}} | SVUnit: SVUnit is a unit test framework for developers writing code in SystemVerilog. | |
VUnit | {{Yes}} | {{cite web |url=https://vunit.github.io |title=VUnit – VUnit documentation}} | VUnit is an open source unit testing framework for VHDL and SystemVerilog |
=TargetLink=
{{Further|TargetLink}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
TPT | Time 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=
{{Further|Tcl}}
=TinyOS, nesC=
{{Further|TinyOS|nesC}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
TUnit | {{Yes}} | {{cite web |url=https://codeshut.blogspot.com/ |title = | Embedded multi-platform wireless testing and characterization |
=TypeScript=
{{Further|TypeScript}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
tsUnit | {{Yes}} | {{cite web|url=https://tsunit.codeplex.com/|title=tsUnit - TypeScript Unit Testing Framework|website=CodePlex}} | |
Oscar | {{Yes}} | {{cite web|url=http://oscar.adriencadet.com/|title=Oscar - Test harness for TypeScript|website=adriencadet.com}} | |
Alsatian | {{Yes}} | {{cite web|url=https://github.com/alsatian-test/alsatian|title=Alsatian - Test harness for TypeScript|website=GitHub.com|date=2019-08-27}} | |
fast-check | {{cite web|url=https://github.com/dubzzz/fast-check|title=fast-check - QuickCheck for TypeScript|website=GitHub.com|date=2019-08-29}} | Similar to QuickCheck. | |
Testy.Ts
| |TypesScript test framework running on node.js |
=VHSIC Hardware Description Language (VHDL)=
{{Further|VHDL}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
VUnit | {{Yes}} | VUnit is an open source unit testing framework for VHDL and SystemVerilog |
=Visual FoxPro=
{{Further|Visual FoxPro}}
=XML (Extensible Markup Language)=
{{Further|XML}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
XUnit | {{cite web |url=http://reflex.gforge.inria.fr/xunit.html |title=RefleX |publisher=Reflex.gforge.inria.fr |access-date=2012-11-12 |archive-date=2012-10-31 |archive-url=https://web.archive.org/web/20121031003348/http://reflex.gforge.inria.fr/xunit.html |url-status=dead }} | for testing | |
WUnit | {{cite web |url=http://reflex.gforge.inria.fr/wunit.html |title=RefleX |publisher=Reflex.gforge.inria.fr |access-date=2012-11-12 |archive-date=2013-01-17 |archive-url=https://web.archive.org/web/20130117033256/http://reflex.gforge.inria.fr/wunit.html |url-status=dead }} | for testing Web applications
| |
SOAtest | {{No}} | Commercial. Parasoft's full-lifecycle quality platform for ensuring secure, reliable, compliant business processes. | |
XMLUnit | {{Yes}} | Plugin for JUnit and NUnit, allowing Assertion-style tests to be written for XSLT documents in Java or C# | |
Vibz Automation | {{No}} | {{cite web|url=https://code.google.com/p/vauto/ |title=vauto - Extensible - Data driven - Automation framework |website=Google Project Hosting |access-date=2012-11-12}} | Open Source. Vibzworld's Fully featured Open source test framework. |
=Extensible Stylesheet Language Transformations (XSLT)=
{{Further|XSLT}}
class="wikitable sortable" | |||
Name | xUnit | Source | Remarks |
---|---|---|---|
juxy | {{cite web|url=http://juxy.tigris.org/|title=juxy.tigris.org|website=tigris.org|access-date=2007-11-08|archive-date=2007-10-12|archive-url=https://web.archive.org/web/20071012155450/http://juxy.tigris.org/|url-status=dead}} | a library for unit testing XSLT stylesheets from Java | |
Tennison Tests | {{cite web|url=http://tennison-tests.sourceforge.net/|title=Tennison Tests (XSLT Unit Testing) - Build the Site|website=sourceforge.net}} | allows 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-X | {{cite web|url=http://utf-x.sourceforge.net/|title=Unit Testing Framework - XSLT|website=sourceforge.net}} | unit testing framework for XSLT that strongly supports the test-first-design principle with test rendition and test validation features | |
XMLUnit | {{Yes}} | Plugin for JUnit and NUnit, allowing Assertion-style tests to be written for XSLT documents in Java or C# | |
XSLTunit | {{cite web|url=http://xsltunit.org/|title=XSLTunit|website=xsltunit.org|access-date=2007-01-10|archive-url=https://web.archive.org/web/20070105212947/http://xsltunit.org/|archive-date=2007-01-05|url-status=dead}} | Proof of concept unit testing framework for XSLT | |
XSpec | {{cite web|url=https://github.com/expath/xspec|title=expath/xspec|website=GitHub}} | XSpec 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 XSLTUnit
| | |This framework allow develop your XSLTs and validate the outputs against XSD files, It supports Maven 3 and JUnit reports. |
See also
- {{Annotated link|Behavior-driven development}}
- {{Annotated link|Extreme programming}}
- {{Annotated link|List of GUI testing tools}}
- {{Annotated link|Mock object}}
- {{Annotated link|Software testing}}
- {{Annotated link|Test-driven development}}
- {{Annotated link|Unit testing}}
- {{Annotated link|xUnit}}
References
{{Reflist}}