I have a situation where I want my system to load a different configuration while running unit tests (in order to keep unit tests small and efficient).
I'm currently using maven and its surefire plugin in order to run unit tests. Is there a way to achieve this? The only idea that comes to my mind is setting an environment variable in the surefire plugin configuration, but I am also open to other possibilities.
Aucun commentaire:
Enregistrer un commentaire