Junit 4.12 and i have following test classes,
class A{
set all the profiles based on available properties
}
@IfProfileValue(name = "spring.profiles.active", values = {"dev"})
class B{
//Test method and autowired properties
}
Currently Class B getting run before class A so IfProfileValue gets failes so it never runs the test cases inside class B. Is there anyway in spring-test to run the junit class based on condition.
