简体   繁体   中英

How to measure test running time using scalatest in Eclipse (Scala IDE)?

I found this post How to measure and display the running time of a single test?

But it concerns about sbt approach rather than Eclipse approach.

If you want to use the -Od option (or any other) in an Eclipse invocation of a "main", see the scaladoc for Runner .

The last approach (" Moreover... ") described in the answer you referenced isn't dependent on sbt or even scalatest.

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