Closed christopherperry closed 10 years ago
Gradle does not have the concept of unit tests. I may add instrumentation tests later but those will just run in mock mode using the normal mechanism for enabling it (a preference).
Gradle does not have the concept of unit tests.
What project should I be requesting this on then, Dagger or Robolectric?
I meant the Gradle Android plugin.
I don't think either project is going to responsible for anything like this since it's highly subjective. It's a combination of Android, Dagger, and Robolectric as well as whatever technique you are using for injection and writing tests. It sounds more like a blog post someone should write or a StackOverflow question.
I'd love to see some unit testing examples for things like
Activity
andFragment
classes.