I am getting the following error when I try to run tests in IntelliJ (2019.1), Scala IntelliJ plugin v2019.1.8, with Scala 2.13:
Exception in thread \"ScalaT
Update: This has been fixed in plugin version 2019.1.9.
It is possible IntelliJ Scala plugin needs to be updated for 2.13. Meanwhile try workaround by selecting the checkboxes Use sbt and Use UI with sbt under test's Edit configuration.... According to Dmitrii Naumenko:
This is fixed in the
- 2019.1 EAP #2019.1.8.21
- 2019.2 Nightly
- Will be available soon in 2019.2 EAP and 2019.1 new Release
Regarding Gradle, try configuring to delegate to Gradle Test Runner
Build, Execution, Deployment | Build Tools | Gradle | RunnerDelegate IDE build/run actions to GradleGradle Test Runner