Issue#13 Add separate task for robolectric tests
This commit is contained in:
parent
f248ab1081
commit
c4c2ea7c26
9 changed files with 23 additions and 22 deletions
15
build.gradle
15
build.gradle
|
|
@ -29,21 +29,6 @@ task clean(type: Delete) {
|
|||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
task unitTests(dependsOn: ["app:testDebugUnitTest", "core:test", "network:test"]){
|
||||
group = 'Tests'
|
||||
description = 'Run all unit tests'
|
||||
}
|
||||
|
||||
task robolectricTests(dependsOn: ["app:testDebugUnitTest"]){
|
||||
group = 'Tests'
|
||||
description = 'Run all robolectric tests'
|
||||
}
|
||||
|
||||
task androidTests(dependsOn: ["app:connectedDebugAndroidTest"]){
|
||||
group = 'Tests'
|
||||
description = 'Run all Android tests'
|
||||
}
|
||||
|
||||
apply from: 'gradlescripts/versions.gradle'
|
||||
apply from: 'gradlescripts/detekt.config.gradle'
|
||||
apply from: 'gradlescripts/ktlint.gradle'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue