radhakrishnanakireddy / cypress-api-testing

API testing project using Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Testing - Cypress

Actions Status Badge ServeRest

This project was created to study and define a base architecture for automated tests of API Rest with Cypress.

How to install

  • Install Node.js;
  • Download this repository or make a git clone;
  • Open the project directory and execute the command: - npm install
  • To open the Cypress execution interface, execute in the project directory: - npm run cypress:open

Project Architecture

cypress-api-testing/
  ├─  cypress/
          
          ├── fixtures/
             ├── *.json
             ├── *.csv       
             └── *.png
          
          ├── integration/
             ├── <category>/
                └── <requests>Tests.request.js
                └── <tests>Tests.spec.js
             └── <category2>/
                 └── <requests>Tests.requests.js
                 └── <tests>Tests.spec.js  
          
          ├── plugins/
             └── index.js
          
          ├── reports/
             └── mocha/
                   └── mochafiles (*.json, *html)
          
          └── support/
              ├── databaseCommands.js
              ├── apiGeneralCommands.js
              ├── api<Categoria>Commands.js
              ├── api<Categoria2>Commands.js
              └── index.js
             
   
  ├── environmentsConfig/
  ├── node_modules/
  ├── cypress.json
  ├── package-lock.json
  ├── package.json
  └── README.md

About

API testing project using Cypress


Languages

Language:JavaScript 100.0%