Gradle: How to test a specific package but ignoring/without the sub-package(s)?

Hello developers

Considering that exists the following packages and classes in src/test/java

com.something.one
    AlphaTest
    BetaTest
    DeltaTest 
com.something.one.more
    OmicronTest
    ZuluTest

With the following command:

./gradlew  :module-name:test --tests "com.something.one*"

The com.something.one and com.something.one.more packages were executed.
Until here it is expected.

But, what if is need it to test only the com.something.one package and not the com.something.one.more sub-package?

I tried with:

./gradlew  :module-name:test --tests "com.something.one.*" // observe it ends now with .*

But same behaviour as the first command, so one* and one.* are practically the same.

So:

  • How to test a specific package but ignoring/without the sub-package(s)?

I have already read:

But ‘seems’ is not possible. The option to change the sub-package name to other different than the parent package is not always an option.

Extra Question: Does exist an explicit difference for some scenario(s) about one* vs one.*? Or just is practically the same? - just curious when would be mandatory apply an approach over the other