Is it possible to “forkEvery” by method, rather than by class?
I want to use a JUnit test suite, which is basically a single class that calls multiple methods.
I believe that the problem I am having is that Gradle recognizes the entire test suite as a single class ( typically called “AllTests.class” ) and doesn’t fork upon all the methods that are found within the embedded class references within the entire suite.
Is it possible to “forkEvery=method” or something like that?
Until I figure it out, it seems that my Gradle “Junit Suite” runs on only one thread.
In my project (see links below) i have a runAllTests task that runs the JUnit suite on one thread . I also have a runSkipSuite task that skips the suite class and filters by test classes in the gradle task which is a method that works and forks properly but I would have preferred the suite method.
NOTE: my problematic project is at: https://github.com/djangofan/WebDriverTestingTemplate/tree/master/multiwindowtest
and my Hub/Node server scripts are at : https://github.com/djangofan/WebDriverTestingTemplate/tree/master/root