Exclude Junit3 tests


(Klaus Grønbæk) #1

Hi All I have a mix of Junit3 and Junit4 tests. I would like to start using @Category from Junit4 to manage my tests. When I use includeCategories in gradle it runs my categorized Junit4 tests, but it also runs all my Junit3 tests.

Is there any way to tell the Gradle junit Runner to skip Junit3 tests, or do I have to upgrade all my Junit3 test to Junit4 before I can use categories :frowning:

Regards, Klaus