lundi 10 juillet 2017

Overriding spring properties in test with computed values

I know I can use @TestPropertySource. But annotations accept only literals. what if i want to compute the values or even if i want to compute which properties i want to override. is it doable in spring? how can i register arbitrary properties in spring's Environment in tests?

Aucun commentaire:

Enregistrer un commentaire