Is it possible to override properties just for one test class? I already have a specific application.properties for tests and I would like to override some of them just for this one test class. Somthing similar like @SpringBootTest(properties = {"myprop1=0, myprop2=hello"})
in Spring? Or is it possible to set a profile on class level? @Profle("myProflileJustForThisTestClass") MyTestClass {...}
Best Boban
Aucun commentaire:
Enregistrer un commentaire