Category "android-testing"

Android coreLibraryDesugaringEnabled, connected test crash with NoSuchMethodError

I added coreLibraryDesugaringEnabled to our app, and it works fine for normal app runs. compileOptions { coreLibraryDesugaringEnabled true } and core

How can I get string resource in Jetpack composable test

We can get the string resource in Composable through stringResource like @Composable fun Heading( @StringRes textResource: Int ) { Text( text =

Organize shared code between androidTest and test

I'm building an android component in the form of a gradle project. To test my components UI in several configurations with the espresso framework, I have a Test

continue jacoco code coverage report after fail test case

Code coverage report not generated when Test case failed in android studio using Jacoco plugin.How to skip failed test case and generate code coverage report.

Changing Orientation in Bluestacks to test Orientation Change of my App

Android Emulator 4.4 apparently has a bug which keeps it from changing rotation appropriately. Having heard that Bluestacks is faster anyway, I wanted to give i

Android tests BuildConfig field

Suppose my build.gradle file defines different values for the same variable that is defined in BuildConfig: android { def INTEGER= "integer" def VARIAB