I have no idea how to test and I was following a tutorial.I am trying to run:
package name.company.sunshine.app.data;
import android.test.AndroidTestCase;
I was able to get past this problem after making two changes.
uncheck use in-process build in Settings -> Build Tools -> Compiler
Source: https://code.google.com/p/android/issues/detail?id=172162
force Gradle to re-run all tasks by updating your run configurations. Add --rerun-tasks to the Script Parameters.
Source: https://www.bignerdranch.com/blog/triumph-android-studio-1-2-sneaks-in-full-testing-support/