Skip to content

Tags: mockito/mockito-kotlin

Tags

v6.3.0

Toggle v6.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add helper to mock module-level extension functions (#586)

* Add mockExtensionFun() for mocking top-level extension functions
* Add root-level spotlessApply task for included tests build

Co-authored-by: Joshua Selbo <jselbo@meta.com>

v6.2.3

Toggle v6.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update exception message now that onGeneric is deprecated (#583)

Co-authored-by: Joshua Selbo <jselbo@meta.com>

v6.2.2

Toggle v6.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve support for stubbing Result return values for synchronous and…

… suspendable functions (#576)

Co-authored-by: Joshua Selbo <jselbo@meta.com>

v6.2.1

Toggle v6.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix regression due to runBlocking being unavailable (#575)

Introduce fallback to the runBlocking function in case kotlinx-coroutines-core library (with the runBlocking function in it) is not on the classpath.

Also adds a new module for testing Mockito-kotlin in a context without coroutine infrastructure (e.g. runBlocking) on the classpath

v6.2.0

Toggle v6.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve stubbing support for suspend functions and value classes (#569)

Introduces `CoroutineAwareAnswer` to allow for lazy wrapping Mockito
answers in suspend lambda when stubbed function is invoked. It also adds
support for other primitive value classes (boolean and char value classes).

v6.1.0

Toggle v6.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update mockito-core to 5.20.0 (#542)

v6.0.0

Toggle v6.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Cleanup release


The version.properties should have been deleted and the repository name was incorrect.

5.4.0

Toggle 5.4.0's commit message
Release 5.4.0

5.3.1

Toggle 5.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix release scripts (#514)

See https://github.com/mockito/mockito-kotlin/pull/502/files#r1412891601
for more information

Fixes #509

5.3.0

Toggle 5.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Create AdditionalMatchers facade (#508)

Fixes #507