开发者

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*TestCas开发者_开发技巧e. 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?


I raised a request for this behavior here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜