Skip to content Skip to sidebar Skip to footer
Showing posts with the label Testing

Why In A Test Class That Extends Androidtestcase, Does Getcontext() Return Null?

I have my own SQLiteOpenHelper as follow : public class MyOpenHelper extends SQLiteOpenHelper { … Read more Why In A Test Class That Extends Androidtestcase, Does Getcontext() Return Null?

How To Use R.id In Robotium If I Have Only The Apk File

I want to test an app from play market. I have a problem when I`m trying to use solo.clickOnView(s… Read more How To Use R.id In Robotium If I Have Only The Apk File

Long Press On A View Using AndroidViewClient

How can I simulate long press on a view (for example a button) using AndroidViewClient? The touch m… Read more Long Press On A View Using AndroidViewClient

Android Instrumented Tests Coverage Exclude Flies

I run my tests with 'gradlew createDebugCoverageReport'. My problem is that the coverage re… Read more Android Instrumented Tests Coverage Exclude Flies

"RuntimeException: Could Not Launch Activity...Unable To Resolve Activity For Intent" When Running Jetpack Compose UI Tests With CreateComposeRule

Running tests with createComposeRule and hitting a stack trace like (irrelevant parts omitted): jav… Read more "RuntimeException: Could Not Launch Activity...Unable To Resolve Activity For Intent" When Running Jetpack Compose UI Tests With CreateComposeRule

How Can I Test Activity Based On ActionBarActivity (from Android.support.v7.app) Using AndroidUnitTestCase Class?

Sorry for my English. I use Android Studio. To learn how to create tests in Android Studio I used t… Read more How Can I Test Activity Based On ActionBarActivity (from Android.support.v7.app) Using AndroidUnitTestCase Class?