Skip to content

Releases: mockito/mockito-kotlin

v6.3.0

19 Mar 20:19
4e5b0a2

Choose a tag to compare

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

26 Jan 18:58
e08ea94

Choose a tag to compare

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

21 Jan 07:33
d0492b0

Choose a tag to compare

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

17 Jan 13:03
13bec57

Choose a tag to compare

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

14 Jan 09:24
3b5498c

Choose a tag to compare

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

30 Sep 18:37
29a7a99

Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

6.1.0

v6.0.0

16 Jul 15:17
0d1ea6c

Choose a tag to compare

Upgrade to Kotlin 2

What's Changed

New Contributors

Full Changelog: 5.4.0...v6.0.0

5.4.0

09 Jul 07:52
888e19d

Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

5.4.0

5.3.1

09 Apr 17:49
7e57608

Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

5.3.1

  • 2024-04-09 - 3 commit(s) by Oscar Guillén, Róbert Papp
  • Follow-up on #508: add tests and remove unnecessary methods (#516)
  • Fix broken release (#509) (#514)
  • Add support for destructured parameters in answers (#512)
  • Release is broken (#509)
  • Port AdditionalMatchers matchers (#508)

5.3.0

21 Jan 18:22
017b08a

Choose a tag to compare

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)