unbroken-dome / gradle-testsets-plugin

A plugin for the Gradle build system that allows specifying test sets (like integration or acceptance tests).
MIT License
230 stars 50 forks source link

Unable to run single integration test #127

Open Kylar42 opened 2 years ago

Kylar42 commented 2 years ago

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 commented 2 years ago

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