@TestPropertySource annotation alternative on a method level

Viewed 7483
@TestPropertySource(locations="classpath:test.properties")
public class Aclass {}

Is there an alternative that uses properties for the tested instance in a method.

@Test
public void aMethod(){}
1 Answers

It is still not possible, but there is an open issue for this feature if you wish to follow it.

Related