How to Create Cucumber Project in Eclipse

Profile picture for user devraj

Eclipse is most widely used tool to create Java project. If you are going to create your first cucumber project, we recommend that you should use eclipse and maven. Maven is a build automation tool used primarily for Java projects. Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies. If you do not have previous knowledge of Maven, no problem, Just follow below steps:

Step 1: Go to File->New->Maven Project

Step 2: Use default location and click Next, you can change location if you want to.

Step 3: Let it remain the default selection for Archetype (Use maven-archetype-quickstart) and Click Next.

Step 4: Enter Group Id, Artificat Id and Package name. Give group id as com.organisationName.projectName and artifact id as projectname and package name as com.organisationName.projectName.base and click finish. Do not enter space between words.

Your project setup is done!