Thank you. Yes, I'm using Gradle.
I can (probably) see how to do that for platform specific tests, but it seems the way to run tests in commonTest (where most of my tests are) is to run "check" from the command line. How does this fit with your answer @stojan?