Last active
November 26, 2017 05:10
-
-
Save tolmachevroman/af47ad29ef027bfa4b52ced3c145b459 to your computer and use it in GitHub Desktop.
Medium Post 4. shared folders between tests
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
android { | |
// ... | |
sourceSets { | |
String sharedTestDir = 'src/sharedTest/utils' | |
test { | |
java.srcDirs += "$projectDir/$sharedTestDir" | |
} | |
androidTest { | |
java.srcDirs += "$projectDir/$sharedTestDir" | |
resources.srcDirs += "src/test/resources" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment