Currently TestTypeExcludeFilter is plugged in using a ContextCustomizerFactory. This means that @TestConfiguration and @TestComponent beans are not filtered when using SpringApplication.from on the test classpath.