Gradle: No test found for this parameter: [ro.idea.ToggleTest.testIsAd]

This is my screencast and my code , see my screencast, I am using the standard testSrc and I can run gradle test

successfully, but when I execute gradle test --test ro.idea.ToggleTest.testIsAd

it fails.

my question is: How do I fix this?

In settings.gradle I am setting the following code:

include ":ro"
project(':ro').projectDir = file("../ro")

      

my guess is the reason behind this error, but I cannot fix it.

0


source to share





All Articles