This commit introduces the TestClassScanner which scans provided classpath roots for Spring integration test classes using the JUnit Platform Launcher API which allows all registered TestEngines to discover tests according to their own rules. The scanner currently detects the following categories of Spring integration test classes. - JUnit Jupiter: classes that register the SpringExtension via @ExtendWith. - JUnit 4: classes that register the SpringJUnit4ClassRunner or SpringRunner via @RunWith. - Generic: classes that are annotated with @ContextConfiguration or @BootstrapWith. The scanner has been tested with the following TestEngine implementations for the JUnit Platform. - JUnit Jupiter - JUnit Vintage - JUnit Platform Suite Engine - TestNG Engine for the JUnit Platform Closes gh-28824 |
||
|---|---|---|
| .. | ||
| src | ||
| .springBeans | ||
| spring-test.gradle | ||