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.
You should be able to use test-only
. From the scalatest user guide :
test-only org.acme.RedSuite org.acme.BlueSuite
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.