EVERYTHING XIAOMI
Get listed
Ranked chart · Developer Tools

Best Unit Testing Frameworks in 2026

When you need to test small pieces of code, compare frameworks by the languages they support and the ways they let you describe expected behavior. Built-in mocks, parameterized cases, property-based checks, and snapshot testing can each matter for different testing needs; parallel execution is another capability to review. Consider the free plan and paid-from price alongside those features. Kotest, NUnit, and…

32 appsSorted 25 Oct 2026How we rank
17.4
QUnit logo

QUnit is a free JavaScript testing framework that began in the jQuery project.

Free planAndroidiOSWeb
Free plan
26.8
NUnit logo

NUnit is a unit-testing framework for .NET languages, with support listed for C#, VB.NET, F#, and C++.

Free planAndroidiOSAPI
Free plan
36.7

Kotest is a free, multiplatform testing framework for Kotlin projects, combining assertions, property testing, and expressive ways to define tests.

Free planAndroidiOSWeb
Free plan
  1. 4PHPUnit logo

    PHPUnit

    PHPUnit is a testing framework for PHP, with a command-line runner for running tests and selecting suites.

    Free planLinuxmacOSSelf-hostedWindows
    6.6Free plan
  2. 5

    ScalaCheck

    ScalaCheck is a free Scala library for automated property-based testing of Scala and Java programs.

    Free planLinuxmacOSWindows
    6.6Free plan
  3. 6Vitest logo

    Vitest

    Vitest is a testing framework powered by Vite, though it can also run without Vite.

    Free planWebLinuxmacOSWindows
    6.6Free plan
  4. 7Boost.Test logo

    Boost.Test

    Boost.Test is a free C++ unit-testing library for simple program testing, full unit testing and program execution monitoring.

    Free planLinuxWindows
    6.5Free plan
  5. 8

    Jasmine

    Jasmine is an open-source framework for testing JavaScript code that runs in browsers and Node.js.

    Free planWebLinuxmacOSWindows
    6.5Free plan
  6. 9Pest logo

    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-hostedWindows
    6.5Free plan
  7. 10

    ScalaTest

    ScalaTest is a testing tool for Scala, Scala.js, Scala Native, Dotty (Scala 3), and Java code.

    Free planWebLinuxmacOSSelf-hosted
    6.5Free plan
  8. 11

    CppUTest

    CppUTest is a free C/C++ xUnit framework for unit testing and test-driven development, often used in embedded systems.

    Free planLinuxmacOSSelf-hostedWindows
    6.4Free plan
  9. 12Rust libtest logo

    Rust libtest

    Rust libtest is the built-in harness for building and running tests for a Rust crate.

    Free planLinuxmacOSWindows
    6.4Free plan
  10. 13

    FsCheck

    FsCheck is a free library for automatically checking properties of .NET programs against randomly generated inputs.

    Free planLinuxmacOSWindows
    6.3Free plan
  11. 14Hspec logo

    Hspec

    Hspec is a free testing framework for Haskell, distributed as a Cabal source package on Hackage under the MIT license.

    Free planLinux
    6.3Free plan
  12. 15

    Minitest

    Minitest is a free Ruby toolkit for test-driven development, behavior-driven development, and benchmarking.

    Free planLinuxWindows
    6.3Free plan
  13. 16Mocha logo

    Mocha

    Mocha is a free, open-source JavaScript test framework that runs in Node.js and browsers.

    Free planWebLinux
    6.3Free plan
  14. 17Mockito logo

    Mockito

    Mockito is a free Java mocking framework for writing unit tests.

    Free planAndroidLinuxSelf-hosted
    6.3Free plan
  15. 18Go testing logo

    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 planLinuxmacOSWindows
    6.2Free plan
  16. 19

    GoogleTest

    GoogleTest is Google’s C++ framework for testing and mocking.

    Free planLinuxmacOSWindows
    6.2Free plan
  17. 20unittest logo

    unittest

    unittest is Python’s unit testing framework for automating tests and organizing their setup and execution.

    Free planLinuxmacOSWindows
    6.2Free plan
  18. 21xUnit.net logo

    xUnit.net

    xUnit.net is a free, open-source unit testing tool for C#, F#, and Visual Basic.

    Free planLinuxmacOSSelf-hostedWindows
    6.2Free plan
  19. 22ExUnit logo

    ExUnit

    ExUnit is a free unit-testing framework for the Elixir programming language.

    Free planLinux
    6.1Free plan
  20. 23

    Hypothesis

    Hypothesis adds collaborative annotation to digital reading.

    Free planWebAPIExtension
    6.1Free plan
  21. 24MockK logo

    MockK

    AndroidLinuxmacOSWindows
    6.1
  22. 25MSTest logo

    MSTest

    MSTest is a free, open-source framework for writing and running tests for .NET applications.

    Free planLinuxmacOSWindows
    6.1Free plan

More in Developer Tools

The whole section