Introduce TestClassScanner to locate Spring test classes for AOT processing #28824
Closed
5 tasks done
Labels
in: test
Issues in the test module
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
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
Deliverables
TestClassScanner
inspring-test
that effectively scans the classpath for Spring test classes using theLauncher
API from the JUnit Platform (JUnit 5).@ExtendWith(SpringExtension.class)
.@RunWith(SpringRunner.class)
or@RunWith(SpringJUnit4ClassRunner.class)
.@ContextConfiguration
or@BootstrapWith
.@Suite
hierarchies.The text was updated successfully, but these errors were encountered: