Created
February 1, 2019 21:41
-
-
Save AlexZhukovich/01fc3889feb0db6185ecf6f5807e5c90 to your computer and use it in GitHub Desktop.
Sharing test cases between local and instrumentation tests - dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
... | |
// Robolectric | |
testImplementation "org.robolectric:robolectric:$robolectric_version" // 4.1 | |
// Android test runner and rules | |
androidTestImplementation "androidx.test:runner:$test_runner_version" // 1.1.0 | |
androidTestImplementation "androidx.test:core:$test_core_version" // 1.1.0 | |
androidTestImplementation "androidx.test.ext:junit:$test_junit_version" // 1.1.0 | |
androidTestImplementation "androidx.test:rules:$test_rules_version" // 1.1.0 | |
testImplementation "androidx.test:runner:$test_runner_version" // 1.1.0 | |
testImplementation "androidx.test:core:$test_core_version" // 1.1.0 | |
testImplementation "androidx.test.ext:junit:$test_junit_version" // 1.1.0 | |
testImplementation "androidx.test:rules:$test_rules_version" // 1.1.0 | |
// Espresso | |
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_core_version" //3.1.0 | |
androidTestImplementation "androidx.test.espresso:espresso-intents:$espresso_intents_version" //3.1.0 | |
testImplementation "androidx.test.espresso:espresso-core:$espresso_core_version" //3.1.0 | |
testImplementation "androidx.test.espresso:espresso-intents:$espresso_intents_version" //3.1.0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment