Is there a way to only run a specific set of tests in an Android Gradle project?
I have an Android/Gradle project. Whenever I want to run tests, I run: ./gradlew connectedInstrumentTest which runs all my tests under the test folder of my project. My test folder has several automation tests as well as non-automation tests. I'm mostly interested in running the fast non-automation tests without the slow automation tests. Is there a way to run just a specific set of tests, such as from one specific class or anything similar? I'm basically asking about any kind of separation so that I can choose to run just a few tests when I want to. Created a sample project here . Edit local