Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages