DevLabs Alliance - WhatsApp
DevLabs Alliance Logo

Home / Interview /Step by step tutori...

Step by step tutorial for creating JUnit Tests In Eclipse

Srinivasan G


DevLabs Alliance Interview

0 mins read

DevLabs Alliance Interview

Steps to install and Creating and Executing Test Cases in JUnit

Start Eclipse

Create new Project folder through the following navigation flow: 

File->New->Others->Maven project. The user is required to enter the Project folder name in a new window that appears. Below are the screenshots for the same:

Click on Maven Project ->Next

Select the Check box as shown in the below screenshot and click Next

Give Group ID

User needs to give Group id Name and Artifact Id -> Finish

Add Dependencies

User needs to add required dependencies like TestNG, Selenium repos to POM.Xml file