'Unable to load a Suite class' while running ScalaTest in IntelliJ

后端 未结 12 1113
有刺的猬
有刺的猬 2021-01-01 10:07

I\'m having some issues today with running a simple TestKit test in Intellij. The tests are for Scala code (I have the Scala plug-in for Intellij) and are based on Ray Roes

12条回答
  •  天命终不由人
    2021-01-01 11:01

    If you are using IntelliJ to run scalatest make sure the class paths are correct. For example:

     /dummyApp 
    

    your build.sbt should look like, name := "dummyApp". If you name it name := "dummy App" you will get errors.

提交回复
热议问题