Skip to content

Instantly share code, notes, and snippets.

@bmccann36
Created October 12, 2020 12:19
Show Gist options
  • Save bmccann36/104ed105e7a9dae3c3107dd939877870 to your computer and use it in GitHub Desktop.
Save bmccann36/104ed105e7a9dae3c3107dd939877870 to your computer and use it in GitHub Desktop.
@ComponentScan(
basePackages = "your.base.package",
excludeFilters = {@Filter(type = ASSIGNABLE_TYPE, value = {
ExcludedAppConfig1.class, ExcludedAppConfig2.class})
})
public class TestConfig { ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment