If it is not available in C:\>eclipse\plugins directory, then you can download it from JUnit Plugin.
We assume that your Eclipse has inbuilt JUnit plugin. Open eclipse → right click on project and click on property > Build Path > Configure Build Path and add the junit-4.10.jar in the libraries using the button Add External Jar. OSĪssume you have copied the above JAR file onto the folder C:\>JUnit. Step 1: Download JUnit Archiveĭownload a JUnit jar based on the operating system you have on your system. To set up JUnit with eclipse, follow the steps given below.