Skip to content

Releases: kosi-libs/MocKMP

2.0.2

11 Mar 19:35

Choose a tag to compare

What's Changed

Fixes

Full Changelog: v2.0.1...v2.0.2

2.0.1

10 Feb 21:32
1789eaf

Choose a tag to compare

What's Changed

  • Use Custom Capitalization Function to Prevent NoClassDefFoundError by @rs-georg in #86

New Contributors

Full Changelog: v2.0.0...v2.0.1

2.0.0

30 Nov 21:29

Choose a tag to compare

Update to Kotlin 2.0

MIGRATION GUIDE

This updates brings breaking changes in the way MocKMP is applied to projects, as well as how mocks, fakes and injectors are accessed from common sources.

It does NOT bring any change in the mocks configuration / verifications as well as how the fakes and injectors work.

1.17.0

01 Feb 14:33

Choose a tag to compare

1.16.0

22 Nov 17:38

Choose a tag to compare

BREAKING CHANGE: Users of the Gradle plugin must add installWorkaround() at the end of their Gradle configuration.
See https://github.com/kosi-libs/MocKMP#with-the-official-plugin.

Please upvote KSP this issue to remove this requirement: google/ksp#1524.

  • Kotlin 1.9.20
  • KSP 1.0.14
  • mockSuspendFunction*

1.15.0

28 Jul 15:25

Choose a tag to compare

  • Kotlin 1.9.0
  • Gradle 8.2.1
  • KSP 1.0.12
  • Add support for inline value classes (#61)

1.14.0

07 May 22:16

Choose a tag to compare

  • Kotlin 1.8.20
  • KSP 1.11.0
  • Support for vararg parameters (#54)
  • Support for inner types (#57)
  • Revamp function mocking to differentiate different functions with same signature (#58)
  • Introducing initMocksBeforeTest (#55)
  • Move TestWithMocks logic into ITestsWithMocks so that it can be used in test classes that extend something else (#50)
  • Support for sealed classes in JVM 17 (#56)
  • Support for android source-set layout version 2 (#53)

1.13.0

27 Mar 04:56

Choose a tag to compare

  • Kotlin 1.8.10
  • KSP 1.8.10-1.0.9

1.12.0

04 Feb 07:50

Choose a tag to compare

  • Kotlin 1.8 #46
  • Plugin support for JUnit5
  • Plugin support to apply to commonMain instead of commonTest #47
  • Removed JS Legacy target (as it is now officially deprecated)

1.11.0

05 Dec 11:20

Choose a tag to compare

  • Kotlin 1.7.22.
  • KSP 1.0.8
  • #40: Added the possibility to generate public mocks & fakes.