Skip to content

Commit

Permalink
Improve tips for using endToEndTestsForEntireSpringTestModule()
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Sep 10, 2022
1 parent 6d83a95 commit 7605ed7
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,16 @@ void endToEndTests() {
@Test
void endToEndTestsForEntireSpringTestModule() {
// AOT BUILD-TIME: CLASSPATH SCANNING
List<Class<?>> testClasses = createTestClassScanner()
List<Class<?>> 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);
Expand Down

0 comments on commit 7605ed7

Please sign in to comment.