This repository contains a test automation framework for API testing using BDD (Behavior-Driven Development) with Cucumber.js and Pactum.js. The framework allows you to write test scenarios in a human-readable format and execute them against different environments (e.g., prod, dev, qa) using environment-specific configuration files.
- Clone this repository: git clone https://github.com/kundan3034/rudderstack_assignment_api.git
npm install
To run tests on prod env: npm run test:prod
To run tests on dev env: npm run test:dev
To run tests on qa env: npm run test:qa