task jvmTests(dependsOn: ["app:testDebugUnitTest", "core:test", "network:test", "examplecase:example-navcontroller:testDebugUnitTest"]) { group = 'Tests' description = 'Run all JVM tests' } task robolectricTests(type: Exec) { group = 'Tests' description = 'Run all Robolectric tests based on the Instrumented naming convention' // todo is there a better way? commandLine 'sh', './gradlew', 'testDebugUnitTest', '--tests', 'org.fnives.test.*InstrumentedTest' } task androidTests(dependsOn: ["app:connectedDebugAndroidTest", "examplecase:example-navcontroller:connectedDebugAndroidTest"]) { group = 'Tests' description = 'Run Android tests' }