Mockk is a free, open source mocking framework for Kotlin programming language.
Hi i am trying to mock the response i get from a Single observable that gets returned from retrofit using …
unit-testing kotlin kotlin-android-extensions mockkWe are currently working with java with kotlin project, slowly migrating the whole code to the latter. Is it possible …
java unit-testing static kotlin mockkI'm trying to mock an Android Context to return a string from a resource id. However I have trouble matching …
android kotlin mockkI know that in order to mock how a method responds, you have to use every { instanceX.methodB() } returns "42" I'm …
unit-testing kotlin mockkI have some mocks created using: val someService = mockk<SomeService>(relaxed = true) There are multiple tests in the …
mockk