Unit Testing Frameworks
Alternatives to ExUnit
The tools Specifiction weighs against ExUnit, from its list of unit testing frameworks, each with its plans, platforms and spec score.
- 01 CppUTest
CppUTest suits developers testing C or C++ projects, particularly embedded systems, who want unit testing, mocks and memory checks.
Free plan Windows · macOS · Linux · Self-hosted8.7 Visit Specs - 02 FsCheck
FsCheck suits developers who want generated-input property checks for .NET programs, with properties written in F#, C# or VB.
Free plan Windows · macOS · Linux8.4 Visit Specs - 03
Boost.Test Boost.Test is for C++ developers who need unit tests, simple program checks, execution monitoring, or continuous-integration output.
Free plan Windows · Linux8.3 Visit Specs - 04
PHPUnit PHP developers who need to write and run tests can use PHPUnit's command-line runner, assertions, and test doubles.
Free plan Windows · macOS · Linux · Self-hosted8.3 Visit Specs - 05
QUnit QUnit suits developers testing JavaScript in browsers, workers or server environments.
Free plan Web · Windows · macOS · Linux8.3 Visit Specs - 06
Pest Pest suits PHP developers and coding agents needing tests that can extend to browser interactions or LLM evaluations.
Free plan Windows · macOS · Linux · Self-hosted8.2 Visit Specs - 07 GoogleTest
GoogleTest suits C++ developers who need unit, integration, death, parameterized, or mocked tests across Linux, macOS, and Windows.
Free plan Windows · macOS · Linux8.1 Visit Specs - 08
Go testing It suits Go developers who want built-in tests, fuzzing, benchmarks, profiling, and race detection in their development workflow.
Free plan Windows · macOS · Linux8.1 Visit Specs - 09
Hspec Free plan Linux8.1 Visit Specs - 10
Mockito Free plan Linux · Android · Self-hosted8.1 Visit Specs - 11 Minitest Free plan Windows · Linux8.0 Visit Specs
- 12
Rust libtest It suits Rust developers who want Cargo or rustc to build and run crate tests across Linux, macOS, or Windows.
Free plan Windows · macOS · Linux8.0 Visit Specs - 13 Jasmine
Jasmine suits developers who need to test JavaScript in browsers or Node.js and want configurable runners and matchers.
Free plan Web · Windows · macOS · Linux7.9 Visit Specs - 14 Kotest
Kotest suits Kotlin projects that need tests across JVM or Kotlin Multiplatform targets.
Free plan Web · Windows · macOS · Linux7.9 Visit Specs - 15 ScalaCheck
It suits Scala and Java developers who want to check program properties against randomized inputs.
Free plan Windows · macOS · Linux7.9 Visit Specs - 16 Hypothesis Free plan Web · API · Browser extension7.8 Visit Specs
- 17 Inclavare Containers
Inclavare Containers suits Linux and Kubernetes users who need hardware-backed workload isolation and remote attestation.
Free plan Linux · Self-hosted7.8 Visit Specs - 18
NUnit NUnit suits .NET developers writing unit tests in C#, VB.NET, F#, or C++.
Free plan Windows · macOS · Linux · iOS7.8 Visit Specs - 19
Jest Jest suits developers maintaining JavaScript or TypeScript codebases who need snapshots, mocks, coverage, parallel execution and watch mode.
Free plan Self-hosted7.7 Visit Specs - 20
JUnit Free plan Self-hosted7.6 Visit Specs - 21
Mocha Mocha suits developers writing JavaScript or TypeScript tests for Node.js or browsers, including those who need asynchronous or parameterized cases.
Free plan Web · Linux7.6 Visit Specs - 22
MSTest Free plan Windows · macOS · Linux7.6 Visit Specs - 23 ScalaTest
ScalaTest suits developers and teams writing tests for Scala-family languages or Java who want a choice of testing styles and broad listed integrations.
Free plan Web · Windows · macOS · Linux7.6 Visit Specs - 24
Vitest Vitest suits JavaScript and TypeScript developers who want a testing framework that can work with Vite or on its own.
Free plan Web · Windows · macOS · Linux7.5 Visit Specs - 25 pytest Free plan Linux7.4 Visit Specs
- 26
xUnit.net Free plan Windows · macOS · Linux · Self-hosted7.4 Visit Specs - 27
MockK Windows · macOS · Linux · Android7.3 Visit Specs - 28
unittest It suits Python developers who need built-in unit-test organization, command-line discovery, assertions, mocks and CI integration across Linux, macOS or Windows.
Free plan Windows · macOS · Linux7.3 Visit Specs - 29
RSpec Free plan Linux7.2 Visit Specs - 30
jqwik 6.9 Visit Specs