Run scalatest in main instead of test through sbt?

414 views Asked by At

Say I have a Scalatest file in the main directory, is there a sbt command to run the test such as testOnly or `runMain'? On IntelliJ, you are given the option to run the test.

1

There are 1 answers

1
Noah On BEST ANSWER

You should be able to use test-only. From the scalatest user guide:

test-only org.acme.RedSuite org.acme.BlueSuite