{"full_name":"mockk/mockk","owner":"mockk","name":"mockk","shard":"1","url":"https://github.com/mockk/mockk","description":"mocking library for Kotlin","homepage":"https://mockk.io","topics":["verification","chain-calls","matcher","argument-matchers","kotlin","mocking-framework","mock","testing","tdd","hacktoberfest"],"tag_pages":["hacktoberfest","kotlin","mock","mocking-framework","tdd","testing","verification"],"language":"Kotlin","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/34787540?v=4","created_at":"2017-10-17T22:31:23Z","pushed_at":"2026-11-15T16:45:22Z","metrics":{"stars":5769,"forks":432,"watchers":55,"issues":1068,"prs":517,"releases":105,"issues_open":245,"issues_closed":823,"prs_open":21,"prs_closed":62,"prs_merged":434,"discussions":40},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5768,5769,5769,5769,5769,5769,5769],"forks":[429,430,432,432,432,432,432],"watchers":[null,55,55,55,55,55,55],"issues_open":[null,260,252,252,251,246,245],"prs_open":[null,17,16,16,22,17,21]},"boards":{},"same_owner":[],"issues":[{"number":58,"title":"Feature: Support Kotlin/Native in MockK","comments":52,"created_at":"2018-04-08T12:51:58Z"},{"number":13,"title":"Discussion: speed comparison against Mockito","comments":40,"created_at":"2017-12-26T08:01:34Z"},{"number":1073,"title":"Issue with mocking value classes with coEvery","comments":35,"created_at":"2023-04-01T09:30:09Z"},{"number":466,"title":"Android UI Test crashing on Android Emulator (but fine on physical devices) running Android P+ due to various SIGSEGV at random time","comments":34,"created_at":"2020-07-24T09:50:41Z"},{"number":288,"title":"Bug: exception while calling mocked suspend function","comments":29,"created_at":"2019-04-20T19:06:54Z"},{"number":448,"title":"re: java.lang.VerifyError on trying to mock an object","comments":25,"created_at":"2020-05-29T05:16:19Z"},{"number":339,"title":"Bug: for classes generated by Retrofit spies fail in coVerification clause on suspend functions","comments":25,"created_at":"2019-08-05T08:45:06Z"},{"number":321,"title":"Bug: ClassCastException when using relaxed mock of generic type","comments":24,"created_at":"2019-06-20T21:11:41Z"}],"discussions":[{"number":1599,"title":"mockk-jvm and mockk-bdd-jvm not released together?","comments":1,"category":"General","created_at":"2026-11-10T13:41:11Z"},{"number":1498,"title":"GitHub Sponsoring","comments":0,"category":"Q&A","created_at":"2026-01-14T11:35:55Z"},{"number":1485,"title":"mockk.junit.extension.requireParallelTesting what file should I put it?","comments":1,"category":"Q&A","created_at":"2025-12-24T14:17:35Z"},{"number":1471,"title":"Is MockK 1.14.7 requires minSdk 26?","comments":1,"category":"Q&A","created_at":"2025-12-06T23:06:19Z"},{"number":1400,"title":"How to make test failures with custom matchers easier to diagnose?","comments":1,"category":"General","created_at":"2025-06-12T16:15:08Z"},{"number":1397,"title":"MockK Internal Implementation Explained!","comments":2,"category":"General","created_at":"2025-05-18T20:39:43Z"},{"number":1327,"title":"How to inject spybeans in integration tests","comments":0,"category":"General","created_at":"2024-12-08T17:43:41Z"},{"number":1294,"title":"Mockk performance while running  large test suites","comments":0,"category":"General","created_at":"2024-09-11T09:20:59Z"}],"latest_release":{"name":"1.14.12","tag":"1.14.12","published_at":"2026-11-07T22:40:45Z","body":"## What's Changed\r\n* fix: added SameInstanceMatcher to handle an issue with equals method when using EqMatcher along with a mock to an object by @DOssaA in https://github.com/mockk/mockk/pull/1508\r\n* Add scoped confirmVerified overloads for callables (KFunction and KProperty) by @DOssaA in https://github.com/mockk/mockk/pull/1513\r\n* feat: support MockKAnnotation.useDependencyOrder for JUnit 5 by @ilia1243 in https://github.com/mockk/mockk/pull/1515\r\n* Allow updating settings from code by @Yentis in https://github.com/mockk/mockk/pull/1517\r\n* Add currentThread filter and excluded mocks to clearAllStubsFromMemory by @evgenru in https://github.com/mockk/mockk/pull/1519\r\n* Support new Kotlin annotation defaulting rule for @InjectMockKs by @ZzAve in https://github.com/mockk/mockk/pull/1525\r\n* feat(dsl): Add context parameters support module (#1431) by @faraz152 in https://github.com/mockk/mockk/pull/1521\r\n* fix: resolve @InjectMockKs dependency order for interface by @neungs-2 in https://github.com/mockk/mockk/pull/1526\r\n* fix: resolve @InjectMockKs dependency order for list injection by @ilia1243 in https://github.com/mockk/mockk/pull/1527\r\n* fix: extract native lib from APK when not on filesystem (AGP 8.5+) by @snowykte0426 in https://github.com/mockk/mockk/pull/1529\r\n* fix: support OpenJ9 in JvmAutoHinter by @hspedro in https://github.com/mockk/mockk/pull/1530\r\n* fix: prevent null packRef for value class with nullable inner value in sealed interface (#1326) by @snowykte0426 in https://github.com/mockk/mockk/pull/1532\r\n* fix: make clearAllMocks flags correctly isolate mock types (#1520) by @snowykte0426 in https://github.com/mockk/mockk/pull/1533\r\n* fix: incidental reflection of new platform apis crashes tests by @jzbrooks in https://github.com/mockk/mockk/pull/1531\r\n* Update README.md by @Vixb1122 in https://github.com/mockk/mockk/pull/1536\r\n* fix: nullable value class issue in anyValue() by @micheljung in https://github.com/mockk/mockk/pull/1534\r\n* Fix nested value class matching and capture on JVM by @snowykte0426 in https://github.com/mockk/mockk/pull/1539\r\n* Fix generic value class boxed type handling by @snowykte0426 in https://github.com/mockk/mockk/pull/1541\r\n* Preserve typed matcher checks for value class context by @snowykte0426 in https://github.com/mockk/mockk/pull/1540\r\n* fix: clear every mock kind in a single stub repository pass (#1546) by @renechoi in https://github.com/mockk/mockk/pull/1548\r\n* docs: update JVM installation dependency to mockk-jvm by @Junaid-786-29 in https://github.com/mockk/mockk/pull/1545\r\n* fix: relaxed mock should throw exception by @matefoldes in https://github.com/mockk/mockk/pull/1544\r\n* fix: don't let inline function detection break mocking  by @ch200203 in https://github.com/mockk/mockk/pull/1549\r\n* Document JDK 21+ dynamic agent warning solution (solves #1171) by @twhitmorenz in https://github.com/mockk/mockk/pull/1550\r\n* fix(mockk): single non-reified slot() factory by @arimu1 in https://github.com/mockk/mockk/pull/1551\r\n* fix(mockk): report the verified call in unordered verification failures by @renechoi in https://github.com/mockk/mockk/pull/1552\r\n* fix(build): skip Android modules in dokka when no Android SDK is present by @kdelay in https://github.com/mockk/mockk/pull/1556\r\n* fix(mockk-agent): implement synthetic abstract methods in subclass proxies by @ethanstoner in https://github.com/mockk/mockk/pull/1557\r\n* Fix coVerify on spyk of a suspend SAM interface leaking Continuation by @jadhavgaurav in https://github.com/mockk/mockk/pull/1558\r\n* fix(mockk): make negative verifications honour the whole timeout by @dlwhdgus0810 in https://github.com/mockk/mockk/pull/1559\r\n* fix(mockk-agent): inline synthetic static methods so mockkStatic can stub them by @kdelay in https://github.com/mockk/mockk/pull/1560\r\n* fix(mockk): give each any<Class<*>>() matcher its own signature value by @ethanstoner in https://github.com/mockk/mockk/pull/1561\r\n* fix(mockk): estimate call rounds from the unboxe","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}