Feature | Unit tests | Instrumetation test | |
---|---|---|---|
< Android P | ≥ Android P | ||
annotations | ✓ | ✓ | ✓ |
mocking final classes | ✓ | ✓ | |
pure Kotlin mocking DSL | ✓ | ✓ | ✓ |
matchers partial specification | ✓ | ✓ | ✓ |
chained calls | ✓ | ✓ | ✓ |
matcher expressions | ✓ | ✓ | ✓ |
mocking coroutines | ✓ | ✓ | ✓ |
capturing lambdas | ✓ | ✓ | ✓ |
object mocks | ✓ | ✓ | |
private function mocking | ✓ | ✓ | |
property backing field access | ✓ | ✓ | ✓ |
extension function mocking (static mocks) | ✓ | ✓ | |
constructor mocking | ✓ | ✓ |
Created
November 2, 2018 06:46
-
-
Save oleksiyp/983362e3c4cb5a0360fd8ea25990526b to your computer and use it in GitHub Desktop.
"MockK: intentions" Android supported features.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment