JUnit Principles – Write tests first

JUnit Principles – Write tests first Unit testing is intended to validate that a class and its methods do what the developer intended them to do. Unit tests are not intended to replace functional or…

Java Code Refactoring Tasks

Code Smells – Java Code Refactoring Tasks Insufficient Tests How many tests should be in a test suite? Unfortunately, the metric many programmers use is “That seems like enough.” A test suite should test everything that could possibly…