Releases: mockito/mockito-kotlin
Releases · mockito/mockito-kotlin
v6.3.0
Changelog generated by Shipkit Changelog Gradle Plugin
6.3.0
- 2026-03-19 - 2 commit(s) by Joshua Selbo
- Add first-class support for mocking object singletons (#587)
- Add helper to mock module-level extension functions (#586)
v6.2.3
Changelog generated by Shipkit Changelog Gradle Plugin
6.2.3
- 2026-01-26 - 2 commit(s) by Joshua Selbo, Mark Koops
- Update exception message now that onGeneric is deprecated (#583)
- Improve Result support in matchers and captors (#582)
v6.2.2
Changelog generated by Shipkit Changelog Gradle Plugin
6.2.2
- 2026-01-21 - 2 commit(s) by Mark Koops
- Fix eq() matcher NPE with nullable value class and null value (#579)
- Improve support for stubbing Result return values for synchronous and suspendable functions (#576)
v6.2.1
Changelog generated by Shipkit Changelog Gradle Plugin
6.2.1
- 2026-01-17 - 2 commit(s) by Joshua Selbo, Mark Koops
- Solve 6.2.0 regression due to runblocking being unavailable (#575)
- Use jvmToolchain API to configure builds (#572)
v6.2.0
Changelog generated by Shipkit Changelog Gradle Plugin
6.2.0
- 2026-01-14 - 27 commit(s) by Joshua Selbo, Mark Koops, Tim van der Lippe
- Improving stubbing support for suspend functions and value classes (#569)
- Update PR template to run formatting (#568)
- Ignore ktfmt formatting revision in git blame (#567)
- Enable Spotless formatting check in CI (#566)
- Apply ktfmt formatting (#565)
- Add tooling for Spotless + ktfmt (#562)
- Follow-up on primitive value classes (#561)
- Update MockSettings usage (#560)
- Fix anyOrNull matcher with value class wrapping primitive type (#557)
- Enhance/unify and document stubbing API, more groundwork towards implementing improved suspend function support (#556)
- Add wrappers for mockStatic, mockConstruction (#551)
- Add MockedStatic.verify extension fun with lambda last (#549)
- Extending/organizing MatchersTest.kt (#548)
- Adding value class support to KArgumentCaptor. (#547)
- Fix the output directory for the dokka Javadoc plugin (#546)
- #544 Adding value class support to the eq() argument matcher. (#545)
- eq() argument matcher does not support for value class type arguments (#544)
- Add note about releasing tags via GitHub UI (#543)
v6.1.0
Changelog generated by Shipkit Changelog Gradle Plugin
6.1.0
- 2025-09-30 - 1 commit(s) by JuJup
- chore(deps): update mockito-core (#542)
v6.0.0
Upgrade to Kotlin 2
What's Changed
- Add stubber (top-level) doSuspendableAnswer() by @0xabadea in #523
- Kotlin coroutines and generic tests by @hadilq in #526
- Typo in project name by @bjmi in #528
- Add ArgumentCaptor.singleValue by @bjmi in #529
- Update mockito by @LarsSven in #534
- Upgrade Kotlin and Gradle by @LarsSven in #535
- Add checksum for Gradle wrapper by @TimvdLippe in #538
- Update logic for determining project version by @TimvdLippe in #540
New Contributors
- @0xabadea made their first contribution in #523
- @hadilq made their first contribution in #526
- @bjmi made their first contribution in #528
Full Changelog: 5.4.0...v6.0.0
5.4.0
Changelog generated by Shipkit Changelog Gradle Plugin
5.4.0
- 2024-07-09 - 2 commit(s) by Lars
- Added value class support (#522)
- Update mockito to 5.12 (#521)
5.3.1
Changelog generated by Shipkit Changelog Gradle Plugin
5.3.1
5.3.0
This release has not been published to maven-central
5.3.0
- 2024-01-21 - 6 commit(s) by Paul Féraud, Róbert Papp
- Port AdditionalMatchers matchers (#508)
- Provide AdditionalMatchers for Kotlin (#507)
- Update PR template (#504)
- Migrate to using Gradle
plugins { }(#503) - Move tests to included build to separate classpaths (#502)
- Reduce warnings during build, in IDE and in GitHub UI (#501)
- Bump Nexus publishing plugin to latest stable (#500)