Did not find suite classes in package Intellij IDEA

1.2k Views Asked by At

I have a poly repository kind project in Intellij IDEA built with Pants. Individual modules are built with sbt. So I want to debug Specs2 tests using Intellij IDEA debugger. I moved the module I need to debug into a separate sbt project in Intellij but each time I try to run Specs2 test suite from run/debug configuration I get an error: Did not find suite classes in package. How can I mark my test classes as Specs2 suite in Intellij in order to debug my tests?

Here is how debug configuration looks like: run/debug config

Also, I manually specified test directories and source directories accordingly in project settings: project seetings

And I've set sbt build configurations to consider test classes:

sbt build configuration

0

There are 0 best solutions below