diff --git a/spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java b/spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java index 19c53e15b352..1aaf81736f1c 100644 --- a/spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java @@ -107,12 +107,16 @@ void endToEndTests() { @Test void endToEndTestsForEntireSpringTestModule() { // AOT BUILD-TIME: CLASSPATH SCANNING - List> testClasses = createTestClassScanner() + List> testClasses = + // FYI: you can limit execution to a particular set of test classes as follows. + // List.of(DirtiesContextTransactionalTestNGSpringContextTests.class, ...); + createTestClassScanner() .scan() - // FYI: you can limit execution to a particular package as follows. + // FYI: you can limit execution to a particular package and its subpackages as follows. // .scan("org.springframework.test.context.junit.jupiter") .toList(); + // AOT BUILD-TIME: PROCESSING InMemoryGeneratedFiles generatedFiles = new InMemoryGeneratedFiles(); TestContextAotGenerator generator = new TestContextAotGenerator(generatedFiles);