Skip a parameter in MockK unit test, Kotlin
Advertisements I use MockK library for unit testing. Tested method contains strings that don’t have meaning for a result. I want to check other variables, but have to define a behaviour of strings because they are used in tested methods. For instance, every { resources.getQuantityString(R.plurals.age, 10, 10) } returns "10 years" every { resources.getString( R.string.surname,… Read More Skip a parameter in MockK unit test, Kotlin