Include test source set (Gradle) or test scope (Maven) in the scan.