Best MockK Alternatives in 2026

20 apps from unit testing frameworks ranked against MockK on the same published basis.

  1. 1MockK vs QUnit
  2. 2MockK vs Kotest
  3. 3MockK vs NUnit
  4. 4MockK vs PHPUnit
  5. 5MockK vs Vitest
  6. 6MockK vs Pest
  7. 7MockK vs GoogleTest
  8. 8MockK vs xUnit.net
  9. 9MockK vs MSTest
  10. 10MockK vs Hypothesis
  11. 11MockK vs Mocha
  12. 12MockK vs pytest
  13. 13MockK vs Jest
  14. 14MockK vs RSpec
  15. 15MockK vs JUnit
  16. 16MockK vs Boost.Test
  17. 18MockK vs QuickCheck
  18. 19MockK vs Go testing
  19. 20MockK vs CppUTest
  20. 21MockK vs Rust libtest

MockK alternatives compared

#AppScoreFree planFromRuns on
1QUnit7.7Free planFreeAndroid, API, iOS, Linux, Mac, self-hosted, Web, Windows
2Kotest7.5Free planFreeAndroid, iOS, Linux, Mac, Web, Windows
3NUnit7.3Free planFreeAndroid, API, iOS, Linux, Mac, self-hosted, Windows
4PHPUnit7.3Free planFreeLinux, Mac, self-hosted, Windows
5Vitest7.3Free planFreeLinux, Mac, Web, Windows
6Pest7.2Free planFreeLinux, Mac, self-hosted, Windows
7GoogleTest7.1Free planFreeLinux, Mac, Windows
8xUnit.net7.1Free planFreeLinux, Mac, self-hosted, Windows
9MSTest7.0Free planFreeLinux, Mac, Windows
10Hypothesis6.9Free planFreeAPI, Browser, Web
11Mocha6.9Free planFreeLinux, Web
12pytest6.9Free planFreeLinux
13Jest6.7Free planFreeself-hosted
14RSpec6.7Free planFreeLinux
15JUnit6.6Free planFreeself-hosted
16Boost.Test6.3No—Linux, Windows
18QuickCheck6.0No——
19Go testing5.9No—Windows, Mac, Linux
20CppUTest5.8No—Windows, Mac, Linux
21Rust libtest5.8No—Windows, Mac, Linux
Make your app an alternative to MockK

The sponsored alternative slot on this page is labelled Sponsored.

See the price

Questions about MockK alternatives

What is the best alternative to MockK?

QUnit, number 1 in unit testing frameworks with a score of 7.7 out of 10. The others here: Kotest, NUnit, PHPUnit and 16 more.

What is the best free alternative to MockK?

QUnit is the best-ranked alternative with a free plan. 15 of the 20 alternatives here publish a free plan on their own pricing pages.

How are these alternatives ranked?

Ranked on what each maker publishes: documentation depth, a free tier and the platforms it runs on.