

We use Gherkins to write the feature file. Open pom.xml file to add necessary dependencies io.cucumber cucumber-java 6.6.0 io.cucumber cucumber-testng 6.6.0 io.rest-assured rest-assured 4.3.0 test org.testng testng 7.1.0 test įeature File: It's a entry point to the cucumber. Secondary artifacts like source bundles also use the artifactId as part of their final name. The main or primary artifact for a project is typically a JAR file. For example, com.loginradius is the designated groupId for all Maven plugins.Īrtifact Id: it points to the unique base name of the primary artifact generated by this project. The groupId is one of the key identifiers of a project and is typically based on your organization's fully qualified domain name. Group Id: This element indicates the organization's unique identifier or group that created the project.

Provide Group Id and Artifact Id and click on finish. Open Eclipse -> File -> New -> Maven Project

What is BDD?īDD stands for Behavior Driven Development (BDD). A REST API is a way to communicate for two computer systems over HTTP, which is similar to web browsers and servers. Rest API is the most-used web service technology nowadays, and it's an almost meaningless description. Representational State Transfer in short-form as REST defines a set of constraints for creating Web Services.
