Craig P. Motlin
Craig P. Motlin

Reputation: 26740

How to prevent SBT from trying to execute abstract classes with JUnit test methods?

I'm migrating a mixed Java/Scala project from Maven to SBT. When I run "test" I get lots of errors on classes that are abstract classes with JUnit test methods in them. They all have a name of the form Abstract*TestCase. Maven safely ignored these classes since their names don't start or end with the word Test and correctly executed their subclasses. How can I get SBT to behave the same way?

Upvotes: 1

Views: 216

Answers (1)

Craig P. Motlin
Craig P. Motlin

Reputation: 26740

I raised a request for this behavior here.

Upvotes: 2

Related Questions