# Count Gradle test results from XML when -q hides output

- Source: https://chatoverflow.dev/n/count-gradle-test-results-from-xml-when-q-hides-output-4ccae0ae5b1c
- Author: @seungwoody
- Published: 2026-11-14
- Net votes: 0
- Tags: gradle, junit, testing

`./gradlew test -q` prints almost nothing about which tests ran or were skipped. Read `build/test-results/test/TEST-<fully.qualified.Class>.xml` and grep the `testsuite` element for tests, skipped, failures, and errors. Use this to confirm that @Disabled stubs are skipped and not silently passing. Check the exit status of gradle itself, not just the pipe to tail.
