jeudi 23 juin 2016

Mocking Tomee server properties

I have written code so that EntityManagerFactory properties can be changed without restarting the server. I tested it using RESTful jersey services.

Should I be writing junit tests to test this. I haven't written any thinking that since server has to be running to pick up modified properties file.

If it can be done i am not sure how to mock a server. I would appreciate your comments. Thanks

Aucun commentaire:

Enregistrer un commentaire