Reputation: 394
I'm trying to execute two test methods, one of which is a junit and the other is an Android Test in a sequential manner. The first junit test method will be executed, followed by an Android Test. I don't want to execute it manually, and is there any way to achieve this?
Upvotes: 1
Views: 104
Reputation: 1316
I consider Gradle build script would work for you. It can be used to specify the order in which the test methods should be executed:
test {
include '**/JunitTest.class'
include '**/AndroidTest.class'
}
Upvotes: 0