简体   繁体   中英

How do I run a single test in Scala?

I'm going through the scala labs and I can't seem to figure out how to run a single test.

I run test in sbt and I get 23 failing tests for me to fix. I want to run just the HelloWorldExercise.scala. How would I do this?

sbt“ testOnly HelloWorldExercise”

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM