jeudi 21 juillet 2016

How can I run JUnit tests in network isolation?

So I just started a new job and some of the JUnit tests are hitting the network. I want to be able to run these tests without actually taking out my network connection with a ipconfig /release (or similar). Is there anyway to do this?

Ideally I would want to run them in this manner both on the development machine and in the jenkins script.

In case it matters this is a windows shop so all development machines are Windows 7 and so is the Jenkins server.

Another constraint is I don't have admin rights to my machine.

Aucun commentaire:

Enregistrer un commentaire