-
Turns out that the KClasses of objects mockito returns for a given interface aren't considered subclasses of the KClass of that interface by kotlin reflection, which means that the logic to match a mo…
-
## Descrição da vaga
Vaga para desenvolvedor(a) Android nativo (Kotlin).
## Local
Remoto 100% (mesmo após a pandemia)
## Requisitos
•Android
• Kotlin
• Arquitetura MVVM/MVP
• Android …
-
I have a method that throws a custom exception
```kotlin
class SiteRuleService {
fun extractDomain(uri: URI): String {
throw InvalidUrlException("Invalid URL or domain ")
}
}
…
-
Hi! It's likely this is not a bug, but I'm perplexed about why my ViewModel unit test keeps asking for a root scope to be initialized when it wasn't necessary for weaving Koin in to the actual project…
-
### Description
After upgrading from Robolectric 4.3.1 to 4.4-beta-1, Mockito started having some issues in our project. Before we were using mockito-inline 3.0. I've tried upgrading to Mockito 3.5…
-
While running Gradle build on Windows 10, I get an error
```
> Task :startTestKafkaCluster FAILED
Execution failed for task ':startTestKafkaCluster'.
> java.io.IOException: Cannot run program "…
-
Hi Mockito folks,
Currently it is not possible to mock a Java framework class (e.g. java.io.File) in Robolectric when mockito-inline is used. This issue has come up a bunch of times in Robolectric,…
-
### Description
Using `mockk(relaxed=true)` in a test `setUp()` results in a `ClassCastException`, when at least two test methods are run, and the second test has a `@Config(sdk=[??])` annotation.
…
-
## Status
https://github.com/junit-team/junit5/blob/2f6f5d8607177ca889ffc9d6c6528a81667ecf79/buildSrc/src/main/kotlin/Versions.kt#L7-L13
https://github.com/junit-team/junit5/blob/2f6f5d8607177ca…
-
**Is your feature request related to a problem? Please describe.**
I want to declare an interface for my Bloc state such that the view where BlocBuilder is created only accesses the interface and the…