spring-framework / org.springframework.test.context.support / DefaultActiveProfilesResolver / resolve

resolve

open fun resolve(testClass: Class<*>): Array<String>

Resolve the bean definition profiles for the given based on profiles configured declaratively via ActiveProfiles#profiles or ActiveProfiles#value.

Parameters

testClass - the test class for which the profiles should be resolved; never null

Return
the list of bean definition profiles to use when loading the ApplicationContext; never null