Currently Using Gradle Project to run the Test in Parallel but the test is running sequentially(From Jenkins)
Build.Gradle
test {
//we want display the following test events
testLogging {
showStandardStreams = true
exceptionFormat = ‘full’
events “PASSED”, “STARTED”, “FAILED”, “SKIPPED”
}
maxParallelForks = Runtime.runtime.availableProcessors()
test.maxParallelForks = project.findProperty(‘testMaxParallelForks’) ?: 1
}
Jenkins Configuration
gradle buildtest -PtestMaxParallelForks=$testMaxParallelForks
Would be great if some one could help on the same