androidjunitrobotium

could not be found or has no tests in Junit


I am trying to test setting application using JunitTestcase.My class extends ActivityInstrumentationTestCase2. But while executing I am getting this error:

01-12 17:22:11.519: WARN/TestGrouping(2942): Invalid Package: '' could not be found or has no tests 01-12 17:22:11.539:

INFO/ActivityManager(1620): Force stopping package com.android.settings uid=1000

Can any one suggest a solution for this?.


Solution

  • You have to specify the app to be tested in the AndroidManifest of the testing project.. that might be missing.