Skip to content

indahmutiah/api-automation-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booker API Automation Testing

This is a repository of E2E testing for the Booker API using Mocha, Chai, and Supertest. API Reference: Booker API

Installation

  1. Install Mocha, Chai, and Supertest
npm install mocha chai supertest
  1. Install Dotenv
npm install dotenv
  1. Install Mochawesome
npm install mochawesome --save-dev 

Environment Variables

Create a .env file in the root directory of the project and add the following variables:

  • API_URL
  • API_BACKEND_USERNAME
  • API_BACKEND_PASSWORD

Running the tests

npm test

Documentation

Docmentation

About

This is a repository of API Automation Testing with Mocha Chai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published