• Andy Wilkinson's avatar
    Make it easier to run JUnit tests against a subset of the class path · 6035fe4c
    Andy Wilkinson authored
    Due to `@ConditionalOnClass` and `@ConditionalOnMissingClass`, the
    behaviour of many auto-configuration classes is dependant on the
    contents of the class path, yet we do not have a lightweight way of
    testing such classes against a specific class path.
    
    This commit introduces FilteredClassPathRunner, a JUnit Runner that
    runs a class’s tests using a filtered class path. A
    `@ClassPathExclusions` annotation on a test class can be used to
    filter entries from the project’s default class path, thereby allowing
    a configuration class’s behaviour in the presence or absence of
    certain classes to be tested more easily.
    
    Closes gh-5359
    6035fe4c
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs 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-tools 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...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...