QUnit is a free JavaScript testing framework that began in the jQuery project.
Best Unit Testing in 2026
Unit testing tools help you check individual pieces of code in a repeatable way. This list covers tools that can run across Linux, Windows, macOS, self-hosted setups, the web and Android. Compare the language support, execution model, code coverage, parallel execution, IDE support and CI integrations. If Android matters, confirm that the specific tool has an Android app or Android-compatible workflow before choosing…
NUnit is a unit-testing framework for .NET languages, with support listed for C#, VB.NET, F#, and C++.
Kotest is a free, multiplatform testing framework for Kotlin projects, combining assertions, property testing, and expressive ways to define tests.
- 4

PHPUnit
PHPUnit is a testing framework for PHP, with a command-line runner for running tests and selecting suites.
Free planLinuxmacOSSelf-hostedWindows6.6Free plan - 5

Vitest
Vitest is a testing framework powered by Vite, though it can also run without Vite.
Free planWebLinuxmacOSWindows6.6Free plan - 6

Boost.Test
Boost.Test is a free C++ unit-testing library for simple program testing, full unit testing and program execution monitoring.
Free planLinuxWindows6.5Free plan - 7
Jasmine
Jasmine is an open-source framework for testing JavaScript code that runs in browsers and Node.js.
Free planWebLinuxmacOSWindows6.5Free plan - 8

Pest
Pest is a PHP testing framework for developers and AI agents, available free as a Composer development dependency in a PHP project.
Free planLinuxmacOSSelf-hostedWindows6.5Free plan - 9
ScalaTest
ScalaTest is a testing tool for Scala, Scala.js, Scala Native, Dotty (Scala 3), and Java code.
Free planWebLinuxmacOSSelf-hosted6.5Free plan - 10
CppUTest
CppUTest is a free C/C++ xUnit framework for unit testing and test-driven development, often used in embedded systems.
Free planLinuxmacOSSelf-hostedWindows6.4Free plan - 11

Hspec
Hspec is a free testing framework for Haskell, distributed as a Cabal source package on Hackage under the MIT license.
Free planLinux6.3Free plan - 12
Minitest
Minitest is a free Ruby toolkit for test-driven development, behavior-driven development, and benchmarking.
Free planLinuxWindows6.3Free plan - 13

Mocha
Mocha is a free, open-source JavaScript test framework that runs in Node.js and browsers.
Free planWebLinux6.3Free plan - 14

unittest
unittest is Python’s unit testing framework for automating tests and organizing their setup and execution.
Free planLinuxmacOSWindows6.3Free plan - 15

Go testing
Go testing is the test framework and tooling built into Go, an open-source programming language supported by Google for building simple, secure, scalable systems.
Free planLinuxmacOSWindows6.2Free plan - 166.2Free plan
- 17

xUnit.net
xUnit.net is a free, open-source unit testing tool for C#, F#, and Visual Basic.
Free planLinuxmacOSSelf-hostedWindows6.2Free plan - 18
6.1Free plan - 19

MSTest
MSTest is a free, open-source framework for writing and running tests for .NET applications.
Free planLinuxmacOSWindows6.1Free plan - 20
pytest
pytest is a free Python framework for writing small, readable tests and expanding them into functional testing for applications and libraries.
Free planLinux6.0Free plan - 21

Jest
Jest is a free JavaScript testing framework for checking correctness across JavaScript codebases.
Free planSelf-hosted5.9Free plan - 22

JUnit
JUnit is a free, programmer-friendly testing framework for Java and the JVM.
Free planSelf-hosted5.9Free plan - 23

RSpec
RSpec is a free, open-source behavior-driven development framework for Ruby, distributed as installable Ruby gems and available on Linux.
Free planLinux5.9Free plan - 245.7
- 25
Android Testify
Android4.7
Choosing well
Check Android and platform support
Platform coverage in this category includes Android, Linux, Windows, macOS, self-hosted setups and the web. Check the tool's own listing for the platform you plan to use.
An Android phone or tablet user should confirm Android support directly rather than assume a desktop or web tool has a mobile app.
Match the supported language
Start with the programming language used by your project. The list compares supported languages, so use that field to narrow the choices before comparing other features.
Compare how tests run
Execution model affects how a tool runs test code. Check code coverage details when you need reports about exercised code, and look for parallel execution when you want tests to run concurrently.
Fit your development workflow
IDE support can affect how easily you write and run tests. CI integrations matter when tests need to run as part of an automated build process.
Review plans and code access
A free plan is available in this category. Compare the paid-from information when planning a larger setup, and check the licence if you need to read or change the code.
Questions people ask
Are unit testing tools available for Android?
Android is one of the platforms represented in this category, but support differs by tool. Check the specific listing for an Android app or compatible workflow.
Can I use a free unit testing tool?
Yes. A free plan is offered in this category. Review the pricing details and paid-from information for the tool you are considering.
Which comparison fields matter most?
Start with supported languages and execution model, then compare code coverage, parallel execution, IDE support and CI integrations.
Do these tools run on desktop systems?
Category platforms include Linux, Windows and macOS, alongside web, self-hosted and Android options. Confirm support for the system you use.
What should I check for automated builds?
Look at CI integrations and the execution model. These fields show whether a tool fits the way your build process runs tests.

