1

I'm using Robolectric 2.3 and execute my unit tests with

./gradlew testDebug

Is there a way to execute a single test or a single test class?

loeschg
  • 29,262
  • 25
  • 96
  • 147

1 Answers1

2

I'm running them in Android Studio and from there you can execute one test, one test case, all tests in the package: How to run unit tests with Android Studio

About command line you can take a look on this plugin: https://github.com/JCAndKSolutions/android-unit-test

Community
  • 1
  • 1
Eugen Martynov
  • 19,222
  • 10
  • 57
  • 112