My Question is similar to this question, but it refers to Gradle
not Maven
.
I have marked several tests within my project with the @Category
annotation, and created my Test Suite (See below).
How do I run this using Gradle?
Test Suite:
@RunWith(Categories.class)
@Categories.IncludeCategory(MyTestSuite.class)
@Suite.SuiteClasses(ClassUnderTest.class)
public interface MyTestSuite {
}