Create unit testing examples
christopherperry opened this issue · 3 comments
christopherperry commented
I'd love to see some unit testing examples for things like Activity
and Fragment
classes.
JakeWharton commented
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).
christopherperry commented
JakeWharton commented
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.