How to add JUnit library into a java project in Eclipse?

1. Right click on the project and select properties.
2. In the properties window, go to Java Build Path -> Libraries
3. Click on “Add Library”
4. In the Add Library window, select JUnit and click Next Button.
5. In the next window select the desired JUnit version. Select JUnit 4 for annotation driven tests and click finish button.
6. Click “OK” in the next window. You are done.

eclipse-java-unit-library

Java eclipse junit library

Java eclipse junit library

Java eclipse junit library

Java eclipse junit library

Java eclipse junit library

Leave a comment

Your email address will not be published. Required fields are marked *