Skip to content

sophiecarreras/cypress_e2e_mocha_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress e2e + Mocha api

Unified framework for REST API service and web using Cypress, Mocha, Chai, and Axios.

Prerequisites

  • Node.js installed (version 14.x or higher)
  • Yarn package manager installed

Installation

To install the required dependencies, run the following command:

yarn install

Cypress tests

To run Cypress tests, run the following command:

yarn run test-e2e

API tests

To run API tests, run the following command:

yarn run test-api

API Reporting

After running the API tests, an HTML report is generated in the mochawesome-report folder. Open the mochawesome.html file in a web browser to view the test results.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors