Best MockK Alternatives in 2026

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

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

MockK alternatives compared

#AppScoreFree planFromRuns on
1Kotest6.8Free planFreeAndroid, iOS, Linux, Mac, Web, Windows
2QUnit6.8Free planFreeAndroid, API, iOS, Linux, Mac, self-hosted, Web, Windows
3NUnit6.7Free planFreeAndroid, API, iOS, Linux, Mac, self-hosted, Windows
4Pest6.6Free planFreeLinux, Mac, self-hosted, Windows
5PHPUnit6.6Free planFreeLinux, Mac, self-hosted, Windows
6Vitest6.6Free planFreeLinux, Mac, Web, Windows
7GoogleTest6.5Free planFreeLinux, Mac, Windows
8MSTest6.5Free planFreeLinux, Mac, Windows
9xUnit.net6.5Free planFreeLinux, Mac, self-hosted, Windows
10Hypothesis6.4Free planFreeAPI, Browser, Web
11Mocha6.4Free planFreeLinux, Web
12pytest6.4Free planFreeLinux
13Jest6.3Free planFreeself-hosted
14JUnit6.3Free planFreeself-hosted
15RSpec6.3Free planFreeLinux
16Boost.Test5.4No—Linux, Windows
18CppUTest5.3No—Windows, Mac, Linux
19Go testing5.3No—Windows, Mac, Linux
20QuickCheck5.3No——
21Rust libtest5.3No—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?

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

What is the best free alternative to MockK?

Kotest 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 free-and-open first: a usable free tier and open-source code, then the platforms it runs on and its documentation.