I'm working on a legacy project that has been written in Scala using SBT. The unit tests have been written with ScalaTest. The problem is there is a lot of test classes that have compilation error.
I want to run only one of these test classes and I know for running only one test I should try something like this:
test:testOnly *myClass
But when I run this command, the SBT will try to compile the whole project and as I said, there's a lot of test classes that have compilation error. Is there any way to tell SBT exactly which classes need to be compiled and so the others will be ignored?