gradle-testsets-plugin icon indicating copy to clipboard operation
gradle-testsets-plugin copied to clipboard

Unable to run single integration test

Open Kylar42 opened this issue 1 year ago • 1 comments

when using unbroken dome to include an integrationTest sourceSet, I can run a single unit test like so:

gradle myserver:test --tests com.foo.TestClass.singleTestABC

But if I try to do the same thing with an integration source set:

/gradle myserver:integrationTest --tests com.foo.IntTestClass.singleTestDEF

Instead of running the single test, it runs the entire IntTestClass, and all of the tests inside it.

Kylar42 avatar Oct 07 '22 14:10 Kylar42

As an update: I've been using the JUnit4 Vintage engine. I migrated to JUnit5 engine and this now works.

Kylar42 avatar Oct 12 '22 16:10 Kylar42