Skip to content

marcuspridham/android_runner_issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Runner 1.0.0 Issue

When using AndroidJUnitRunner 1.0.0 with Wiremock or AssertJ the following error is shown: com.android.builder.testing.ConnectedDevice > No tests found

Reverting back to AndroidJUnitRunner 0.5 will allow the test to be detected and run.

Reported Issue: https://issuetracker.google.com/issues/64525881

Using AndroidJUnitRunner 1.0.0

Open the build.gradle and ensure that the 1.0.0 version is uncommented and that the 0.5 version is commented. Like so:

androidTestCompile 'com.android.support.test:runner:1.0.0'
//androidTestCompile 'com.android.support.test:runner:0.5'

To run the test and see the failure execute the following command:

./gradlew

Using AndroidJUnitRunner 0.5

Open the build.gradle and ensure that the 1.0.0 version is commented and that the 0.5 version is uncommented. Like so:

//androidTestCompile 'com.android.support.test:runner:1.0.0'
androidTestCompile 'com.android.support.test:runner:0.5'

To run the test and see it pass execute the following command:

./gradlew

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages