This message was deleted.
# community-support
s
This message was deleted.
c
Gradle doesn’t appear to directly offer that; you can fork tests for parallelism reasons (
maxParallelForks
), and for state-management reasons (
forkEvery
, for leaky tests or other state management issues), but not to my knowledge declaratively.
One workaround could be to define test groups / tags (depending on what test framework is being used), and define two Test tasks configured appropriately.
r
I really just need problemTestCase be executed before any other testcase in the system. That way i'm fine
v
If you want to solve that on the Gradle side, just define an additional test task that includes this test, exclude it on the normal test task and make the normal test task either
dependsOn
,
mustRunAfter
, or
shouldRunAfter
your custom task.