JUnit Tutorial (1) – Use JUnit under Eclipse

Introduction and Installation JUnit is the defacto standard for unit testing. JUnit is part of Eclipse Java Development Tools (JDT). So, we can either install JDT via Software Updates site, or download and install Eclipse IDE for Java Developers. Using JUnit in Eclipse Environment 1. Create a project and create a class. This should contains the method you want … Read more