Skip to content

Releases: mockito/mockito-kotlin

3.0.0

29 Mar 14:32
00236e8
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

3.0.0

  • 2021-03-29 - 3 commit(s) by Szczepan Faber, Tim van der Lippe
  • Update to Mockito 3 and bump major version (#417)

2.2.11

23 Mar 12:41
37bbae4
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

2.2.11

2.2.10

23 Mar 11:15
bcbea6a
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

2.2.10

2.2.9

23 Mar 11:14
17e2c05
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

2.2.9

2.2.8

22 Mar 20:29
bd79b5e
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

2.2.8

  • 2021-03-22 - 1 commit(s) by Mario Rezende
  • fix: package groupId in install section (#414)

2.2.7

22 Mar 14:58
1a1fc5c
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

2.2.7

2.2.6

22 Mar 14:44
3850c83
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

2.2.6

  • 2021-03-22 - 22 commit(s) by Szczepan Faber, Tim van der Lippe
  • Enabled automated releases (#412)
  • Enabled releases to Maven Central (#411)
  • Rename packages to org.mockito.kotlin (#410)
  • Automated releases (#409)
  • Enabled releases to GitHub and Bintray (#405)
  • Added CI + Bintray releases (#402)
  • Add acknowledgements section to the README (#399)

2.2.0

08 Sep 09:08
dbdef2f
Compare
Choose a tag to compare
  • Add reified support for refEq like other matchers #329
  • Make after() return type non-null #351
  • Support lenient in mock and withSettings #353

2.1.0

31 Dec 13:11
efccc0b
Compare
Choose a tag to compare

New in this version:

  • Add BDD will extension function #313
  • Coroutines verify with verification mode #318 (#317)

2.0.0

30 Oct 09:38
ec75b8a
Compare
Choose a tag to compare

Version 2.x introduces some breaking changes:

  • The artifact to include is now com.nhaarman.mockitokotlin2:mockito-kotlin:x.x.x;
  • The main package to import from is now com.nhaarman.mockitokotlin2;
  • Mockito-Kotlin does not depend on kotlin-reflect anymore. This solves a few conflict issues when using different Kotlin versions. The artifact mockito-kotlin-kt1.1 is therefore dropped.
    • This removes the creation of arbitrary instances through reflection, which was not necessary anyway due to the T as null quirk.

To include this, use the following:

testCompile 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0'

If you included a dependency on kotlin-reflect for Mockito-Kotlin only, you can remove it.