Question

I am using Espresso. I have multiple tests written, all in different classes but the same project. When I run I remove all but one class and try running, it runs fine. However, when I have them all in my project and try running the second one always fails. All of my test are pretty basic right now. They just have setUp() and one testMethod().

Can someone tell me what I am doing wrong?

NOTE: I run via terminal with command gradle appName:cC

Was it helpful?

Solution

I found my answer. I need to add the Spoon Gradle Plugin

OTHER TIPS

That's one option, but you don't have to, you can still use gradle command connectedCheck Find out how to run the tests (including running tests for a specific module and on multiple devices) here at this Google example: https://github.com/googlesamples/android-testing-templates/tree/master/AndroidTestingBlueprint

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top