Skip to content

Commit

Permalink
Add Espresso dependencies and instrumented test configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Isira-Seneviratne committed Sep 2, 2020
1 parent ae8d309 commit d097d12
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/BOINC/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ android {
// Required when setting minSdkVersion to 20 or lower
multiDexEnabled true
vectorDrawables.useSupportLibrary = true

testInstrumentationRunner = 'androidx.test.runner.AndroidJUnitRunner'
}

buildTypes {
Expand Down Expand Up @@ -167,6 +169,10 @@ dependencies {
testImplementation 'org.robolectric:robolectric:4.3.1'
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5_version"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$junit5_version"

androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:rules:1.3.0'
}
repositories {
mavenCentral()
Expand Down

0 comments on commit d097d12

Please sign in to comment.