Create:
Author: tgoswami
How to Create Cucumber Project in Eclipse
How to Create Cucumber Project in Eclipse

Creating a cucumber project using Eclipse and Maven is a great way to work on Java projects that involve testing with Cucumber. Here:

  • Eclipse: This is a popular tool for creating Java projects. It provides an integrated development environment (IDE) where you can write, compile, and run Java code.
  • Maven: It's a tool that helps manage the build process of Java projects. It automates tasks like compiling code, managing dependencies, and building the project into an executable format. Maven simplifies the project setup and management.

Follow below steps to create your cucumber project using Eclipse and Maven:

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

Create Eclipse Maven Project

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

Eclipse Use Default Workspace Location

Step 3: Filter with maven-archetype-quickstart and Click Next.

Select maven archetype quickstart

Step 4: select latest version with Group id org.apache.maven.archetypes and Artifact id maven-archetype-quickstart

Select eclipse maven archetype quickstart

Step 5: Enter Group Id, Artificat Id and Package name. Do not enter space between words.

Select Group ID, Artifact Id and package for Maven Project
  • group id: com.organisationName.projectName
  •  artifact id: as projectname
  • package name: com.organisationName.projectName.base

Step 6: Make sure run archetype generation interactively not selected. Otherwise you project will not create you will keep on waiting.

maven archetype generation interactively

Step 7: Click finish. You will see your project in project explorer.

Create Cucumber Java Eclipse Maven Project

Your project setup is done!