I want to exclude some packages from being scanned when using spring @SpringBootTest
in the same way it is done with @ComponentScan
.
Is there something like
@SpringBootTest(excludeFilters =@ComponentScan.Filter(
type = FilterType.REGEX,
pattern = "package\\.\\.to\\.Exclude.*"))