You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
Hi,
I have configured Fork to run my tests. When I run the fork task I don't see any instrumented tests running. Can you help me what's wrong?
I am running the below task:
./gradlew fork -PtestSize=large --debug --stacktrace --no-build-cache -Dorg.gradle.parallel=false --no-daemon --configure-on-demand '-Dorg.gradle.jvmargs=-Xmx8g -XX:MaxPermSize=512m'
I have given the correct ancestor path to the testPackage and all of my test classes end with "xxxTest".
Here is my config looks like:
In main build.gradle
dependencies {
...
...
// classpath "com.jaredsburrows:gradle-spoon-plugin:1.5.0"
classpath 'com.shazam.fork:fork-gradle-plugin:3.7.0'
}
Hi,
I have configured Fork to run my tests. When I run the fork task I don't see any instrumented tests running. Can you help me what's wrong?
I am running the below task:
./gradlew fork -PtestSize=large --debug --stacktrace --no-build-cache -Dorg.gradle.parallel=false --no-daemon --configure-on-demand '-Dorg.gradle.jvmargs=-Xmx8g -XX:MaxPermSize=512m'
I have given the correct ancestor path to the testPackage and all of my test classes end with "xxxTest".
Here is my config looks like:
In main build.gradle
dependencies {
...
...
// classpath "com.jaredsburrows:gradle-spoon-plugin:1.5.0"
classpath 'com.shazam.fork:fork-gradle-plugin:3.7.0'
}
In app build.gradle file:
apply plugin: 'com.shazam.fork'
...
...
fork {
title = "Automation tests"
testPackage = "com.mycomp.test"
fallbackToScreenshots = true
if (project.hasProperty('coverage')) {
isCoverageEnabled = true
}
if (project.hasProperty('testSize')) {
testSize = project.testSize
}
poolingStrategy {
manual {
groupings {
emulators = [".*-5556"]
}
}
}
}
//spoon {
// debug = true
//// grantAllPermissions = true
// if (project.hasProperty('spoonClassName')) {
// className = project.spoonClassName
// }
// if (project.hasProperty('testSize')) {
// testSize = project.testSize
// }
// noAnimations = true
//
// clearAppDataBeforeEachTest = true
//
// if (project.hasProperty('coverage')) {
// codeCoverage = true
// singleInstrumentationCall = true
// }
// grantAll = true
//}
The text was updated successfully, but these errors were encountered: