Instead of NUnit
NUnit alternatives
NUnit is a free, MIT-licensed framework for unit testing .NET languages, including C#, VB.NET, F#, and C++. It supports parameterized cases and parallel execution, while NUnit 5 adds test and fixture dependency attributes, repeat runs with configurable pass percentages, and builds targeting net462, net8.0, and net10.0. Templates for Visual Studio, Visual Studio Code, Rider, and dotnet new help set up projects, and the NUnit3TestAdapter supports automated runs on clean CI machines. NuGet and GitHub provide installation options.
- 1
Kotest
Free plan AndroidiPhoneLinux+3Kotlin multiplatform and property testing — Kotest targets Kotlin across JVM, JavaScript, Native, Wasm, and Android, adding expressive styles, over 350 matchers, and property testing beyond NUnit’s .NET focus.
- 2
QUnit
Free plan AndroidAPIiPhone+5JavaScript browser and Node.js testing — QUnit is a JavaScript framework for browsers, Node.js, SpiderMonkey, and Web Workers, with custom runners, reporters, and DOM fixture resets.
- 3
CppUTest
Free plan LinuxMacSelf-hosted+1C and C++ embedded-system testing — CppUTest focuses on portable C/C++ and embedded testing, adding mocking, per-test memory-leak detection, C macros, and CI XML output.
- 4
FsCheck
Free plan LinuxMacWindowsProperty-based testing for .NET programs — FsCheck generates random cases to check properties and shrinks failures to minimal counterexamples, complementing NUnit rather than replacing its general unit framework.
Free plan Visit site - 5
Jasmine
Free plan LinuxMacWeb+1Dependency-free JavaScript testing — Jasmine tests browser and Node.js JavaScript without external dependencies or other JavaScript frameworks, with standalone browser and configurable runners.
- 6
Pest
Free plan LinuxMacSelf-hosted+1PHP testing with browser and AI checks — Pest targets PHP and adds browser testing through Playwright, AI-agent verification, AI evaluations, mutation testing, profiling, and test impact analysis.
- 7
PHPUnit
Free plan LinuxMacSelf-hosted+1PHP developer testing and coverage reports — PHPUnit provides PHP assertions, data providers, dependencies, test doubles, coverage reports, retry controls, and PHAR or Composer installation.
- 8
Boost.Test
Free plan LinuxWindows - 9
GoogleTest
Free plan LinuxMacWindows - 10
Go testing
Free plan LinuxMacWindows - 11
ExUnit
Free plan Linux - 12
MSTest
Free plan LinuxMacWindows - 13
ScalaTest
Free plan LinuxMacSelf-hosted+2 - 14
Hspec
Free plan Linux - 15
Jest
Free plan Self-hosted - 16
Minitest
Free plan LinuxWindows - 17
Mocha
Free plan LinuxWeb - 18
JUnit
Free plan Self-hosted - 19
Vitest
Free plan LinuxMacWeb+1 - 20
xUnit.net
Free plan LinuxMacSelf-hosted+1 - 21
unittest
Free plan LinuxMacWindows - 22
pytest
Free plan Linux - 23
RSpec
Free plan Linux - 24
Busted
Free plan LinuxMacWindows - 25
Catch2
Free plan LinuxMacWindows