I don't have a good answer, but I occassionally get this kind of behavior in IntellJ/AS. I would start by checking out the configuration that is being run, and recreating that on the gradle cli with the
I have issues with this too but saw the setting to use is File->Settings->Build->Gradle-> Run tests using IntelliJ. I get different results with AS and it does not appear to have this setting. I'm hoping there will be some improvements in future updates even if its a hint of what setting to change.