• Andy Wilkinson's avatar
    Consider JUnit Jupiter test classes in TestTypeExcludeFilter · 7c1bc68f
    Andy Wilkinson authored
    Previously, TestTypeExcludeFilter only looked for JUnit 4 class
    and method annotations when determining if a class was a test class.
    As a result, if an application was using JUnit Jupiter, its test
    classes would not be exluded during component scanning.
    
    This commit expands TestTypeExcludeFilter to also identify classes
    using JUnit Jupiter. This includes classes (meta-)annotated with
    @ExtendWith and methods (meta-)annotated with @Testable. The later
    provides detection of Jupiter's @Test, @TestFactory, and @RepeatedTest
    annotations all of which are meta-annotated with @Testable.
    
    Closes gh-6898
    7c1bc68f
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...