I'm using ScalaTest via the Scala plugin in IntelliJ and am trying to figure out how to separate unit tests from integration tests so that I can run only one or the other at a time. From the plugin's test configuration panel it looks like my only option is putting unit and integration tests in separate packages, which isn't ideal. Is there another way I'm overlooking?
Going forward it'd be great if the Scala plugin would allow specification of either a test directory (src/it vs. src/test) or a test name pattern (*UnitTest vs. *IntTest) like the JUnit plugin does.
Chris