Skip to content

burakkaygusuz/cypress-mongodb-example

Repository files navigation

Cypress MongoDb Example

Cypress MongoDb

Testing MongoDb with Cypress.

Prerequisites

Make sure you have installed all the following prerequisites on your development machine:

OS Node Docker Compose
Windows winget install OpenJS.NodeJS.LTS scoop install docker-compose
macOS brew install node@18 brew install docker-compose

Executing The Tests

  • Clone the repository.
git clone git@github.com:burakkaygusuz/cypress-mongodb-example.git
  • Change the directory.
cd cypress-mongodb-example
  • Execute the .yml file to starting the MongoDb.
docker-compose -f docker-compose.yml up
  • Run the test.
npm install && npm run test

Releases

No releases published

Packages

No packages published