Running Android Unit Test

Create a unit test based on AndroidTestCase then modify AndroidManifest to add:

<application android:icon="@drawable/icon" android:label="@string/app_name">
<uses-library android:name="android.test.runner" />
<instrumentation android:targetPackage="com.mypackagename.test"
android:name="android.test.InstrumentationTestRunner" />

Then select the class and run as "Android JUnit test"

Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

USB Foot Switch II - "Usb HIDKB Not connected"