thinessGit / apicucumbertest

repository contains a set of API tests written in JavaScript using the Cucumber testing framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Cucumber Testing in JavaScript

This repository contains a set of API tests written in JavaScript using the Cucumber testing framework. The tests are designed to validate the functionality and behavior of various API endpoints for your application. By using Cucumber, you can create easily readable and maintainable test scenarios written in Gherkin syntax.

Prerequisites

Before running the tests, ensure you have the following installed:

  • Node.js (version X.X.X or higher)
  • npm (Node Package Manager)
  • Your API server should be up and running

Getting Started

Follow the steps below to set up the project and run the API tests:

  1. Clone this repository to your local machine:
git clone https://github.com/thinessGit/apicucumbertest.git
cd apicucumbertest

Setup

npm i install

Features

place or create all feature file for testing in below path

\features

Step Definitions

place or create all step definitions file for testing in below path

\step-definitions

Run all feature files in test suite

npm run test

By
Thiness Babu
Automation Test Architect
https://github.com/thinessGit/

About

repository contains a set of API tests written in JavaScript using the Cucumber testing framework


Languages

Language:JavaScript 100.0%