Issue#5 Shows basic example of testing NavController usage

This commit is contained in:
Gergely Hegedus 2022-09-23 13:53:05 +03:00
parent faf9cceb8e
commit 00e7a806eb
20 changed files with 383 additions and 2 deletions

View file

@ -1,4 +1,4 @@
task jvmTests(dependsOn: ["app:testDebugUnitTest", "core:test", "network:test"]) {
task jvmTests(dependsOn: ["app:testDebugUnitTest", "core:test", "network:test", "examplecase:example-navcontroller:testDebugUnitTest"]) {
group = 'Tests'
description = 'Run all JVM tests'
}
@ -10,7 +10,7 @@ task robolectricTests(type: Exec) {
commandLine 'sh', './gradlew', 'testDebugUnitTest', '--tests', 'org.fnives.test.*InstrumentedTest'
}
task androidTests(dependsOn: ["app:connectedDebugAndroidTest"]) {
task androidTests(dependsOn: ["app:connectedDebugAndroidTest", "examplecase:example-navcontroller:connectedDebugAndroidTest"]) {
group = 'Tests'
description = 'Run Android tests'
}