JUnit : Handling System and Environment properties in unit testing
It can be hard to automate unit testing when the code depends on the environment or system properties. In this blog post, I will show you how to test the code which depends on the System or Environment properties using 2 test packages. System Stubs JUnit Pioneer Handling Environment Variables I am going to use…