You can currently run specific Android tests in Android studio by following the accepted answer of this question
android {
//....
defaultConfig {
//....
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArgument "size", "small"
}
}
Is there a way to do this without editing Gradle files?