Each time you enter your car and start it up, you take a look at the instrument panel/dashboard, almost automatically. But if you see something wrong, like the “check engine” light is flashing an angry red warning, it probably wouldn’t be wise to start driving away.
In a similar manner, Unit Tests for your code act as warning signals that something does not work as expected, it wouldn’t be wise to deploy code into production when all your unit tests are failing.
In this latest report from Rebel Labs entitled "Go Away, Bugs! Keeping Your Code Safe with JUnit, TestNG and Mockito", we build on previous research and years of experience to deliver you over 30 pages of code, examples, suggestions and tips.