Gradlew Test

How to skip a test case in grdalew test.

In the simplest case it’s ‘-Dtest.single=TestClassName’. See 23.12.2 (Test) System Properties in the user guide.

Can you elaborate? Do you want to skip or exclude a test (the two are reported differently)? Do you want to do this for a test class or a test method? Do you want to do it on the command line or in the build script?