Mockito v5.23.0

v5.23.0
Changed 3
  • Replace mockito-android mock maker implementation with dexmaker-mockito-inline
  • Mark parameters of Mockito.when @Nullable
  • mockito-android now requires a device or emulator based on API 28+ (Android P) for tests
Fixed 1
  • Fix StackOverflowError with AbstractList after using mockSingleton
NOTE: Breaking change for Android

The mockito-android artifact has a breaking change: tests now require a device or emulator based on API 28+ (Android P). This is to enable new support for mocking Kotlin classes. See #3788 for more details.


Changelog generated by Shipkit Changelog Gradle Plugin

5.23.0
  • 2026-03-11 - 6 commit(s) by Brice Dutheil, Joshua Selbo, Philippe Kernevez
  • Replace mockito-android mock maker implementation with dexmaker-mockito-inline (#3792)
  • Fix StackOverflowError with AbstractList after using mockSingleton (#3790)
  • Mark parameters of Mockito.when @Nullable (#3503)
View original

Upgraded? How did it go?

Discussion