I am trying to use gradle to run tests with the following command, but not working
gradle cleanTest test --tests my.package.TestSuite
my test suite is as follows
@RunWith(Suite.class) @Suite.SuiteClasses({ ATests.class, BTests.class, CTests.class }) public class MySuite { /* placeholder, use this to contain all integration tests in one spot * */ }
trying to execute the following command works, but rather evasively, it runs each test twice. once on its own and then again on the test set in the same namespace
gradle clean test --tests my.package.*
I could just drop the test suite and do it this way, but I want to better understand what is happening here and why I canβt tell it to run the test suite directly.
java shell gradle
tam
source share