I want to be able to run Junit tests from the command line, but when I run this command
java -cp /usr/share/java/junit.jar org.junit.runner.JUnitCore [test c
Template:
adb shell am instrument -w .test/android.support.test.runner.AndroidJUnitRunner
Example:
adb shell am instrument -w com.example.android.testing.blueprint.flavor2.test/android.support.test.runner.AndroidJUnitRunner
Details on Google's github page: Android Testing Blueprint