What’s New

MockK

Developer Tools

A mocking library built for Kotlin rather than adapted to it.

Latest v1.14.11 · by MockKWebsitemockk/mockk

Changelog

v1.14.11

Added 6
  • Add scoped confirmVerified overloads for callables (KFunction and KProperty)
  • Support MockKAnnotation.useDependencyOrder for JUnit 5
  • Allow updating settings from code
  • Add currentThread filter and excluded mocks to clearAllStubsFromMemory
  • Support new Kotlin annotation defaulting rule for @InjectMockKs
  • Add context parameters support module
Fixed 5
  • Added SameInstanceMatcher to handle an issue with equals method when using EqMatcher along with a mock to an object
  • Resolve @InjectMockKs dependency order for interface
  • Resolve @InjectMockKs dependency order for list injection
  • Extract native lib from APK when not on filesystem (AGP 8.5+)
  • Support OpenJ9 in JvmAutoHinter
What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.14.9...v1.14.11

1.14.9

v1.14.9

What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.14.6...1.14.9

1.14.7

v1.14.7

What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.14.6...1.14.7

1.14.6

What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.14.5...1.14.6

1.14.3

What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.14.2...1.14.3

1.14.0

What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.13.17...1.14.0

1.13.17

What's Changed
New Contributors

Full Changelog: https://github.com/mockk/mockk/compare/1.13.16...1.13.17

Discussion