-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: testIssues in the test moduleIssues in the test moduletheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Milestone
Description
Overview
Similar to the org.springframework.aot.test.build.TestClassesFinder from the Spring Native project, we need something that can scan the classpath (from classpath roots provided by the user or build tool) to locate Spring test classes.
Related Issues
- Add support for processing test contexts ahead-of-time #28204
- Add support in the TCF to use pre-processed AOT contexts #28205
- Introduce command-line application for triggering AOT test context processing #28825
Deliverables
- Introduce
TestClassScannerinspring-testthat effectively scans the classpath for Spring test classes using theLauncherAPI from the JUnit Platform (JUnit 5). - Find JUnit Jupiter test classes annotated with
@ExtendWith(SpringExtension.class). - Find JUnit 4 test classes annotated with
@RunWith(SpringRunner.class)or@RunWith(SpringJUnit4ClassRunner.class). - Find other test classes (for example, TestNG) annotated with
@ContextConfigurationor@BootstrapWith. - Ensure that test classes are properly detected within JUnit Platform
@Suitehierarchies.
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test moduletheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement