spring-boot-starter
spring-boot-starter copied to clipboard
Excluding AutoConfigureTestDatabase doesn't work with MybatisTest's excludeAutoConfiguration
trafficstars
I'm trying to configure a Spring Boot application that uses MyBatis in order to run the tests for the mappers. I noticed the annotation declares an excludeAutoConfiguration parameter. I went ahead and set it with AutoConfigureTestDatabase, but it doesn't do anything. Documentation states Auto-configuration exclusions that should be applied for this test. so it should work.
Why wouldn't excludeAutoConfiguration work in this case?