https://kotlinlang.org logo
#gradle
Title
# gradle
s

statmark56

12/02/2023, 4:05 PM
I have a benchmark script:
Copy code
// benchmark.scenarios
experiment {
    tasks = ["app:testDebugUnitTest --tests MyTest"]
}
And I execute:
Copy code
gradle-profiler --benchmark --scenario-file performance.scenarios experiment
But error:
Copy code
Cannot locate tasks that match 'app:testDebugUnitTest --tests FooTest' as task not found in project ':app'
My question: Does gradle-profiler not support additional parameter to the task?
It works fine if the task is just: "app:testDebugUnitTest"
j

Javier

12/02/2023, 4:25 PM
try separate the argument from the task by comma
thank you color 1
2 Views