dweiss commented on a change in pull request #565:
URL: https://github.com/apache/lucene/pull/565#discussion_r774519046
##########
File path: gradle/testing/defaults-tests.gradle
##########
@@ -161,6 +161,14 @@ allprojects {
showStandardStreams false
}
+ // Disable automatic test class detection, rely on class names only.
This is needed for testing
+ // against JDKs where the bytecode is unparseable by Gradle, for example.
+ // We require all tests to start with Test*, this simplifies include
patterns greatly.
+ scanForTestClasses = false
+ include '**/Test*'
Review comment:
Ok, I see it now:
```
new VerifyTestClassNamingConvention(
"org.apache.lucene",
Pattern.compile("(.+\\.)(Test)([^.]+)")))
```
so it in fact allows non-leading Test... Darn. This does complicate the
exclusion patterns.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]