An open API service indexing awesome lists of open source software.

https://github.com/wlsf82/dynamic-fixtures

Sample project to demonstrate how to generate random fixtures with Cypress.
https://github.com/wlsf82/dynamic-fixtures

Last synced: 2 months ago
JSON representation

Sample project to demonstrate how to generate random fixtures with Cypress.

Awesome Lists containing this project

README

          

# dynamic-fixtures

Sample project to demonstrate how to generate random fixtures with [Cypress](https://cypress.io).

> **Note:** There's also an [alternative branch](https://github.com/wlsf82/dynamic-fixtures/tree/alternative) without using fixtures, but instead, overwriting the request's response body directly using a custom command.

## Pre-requirements

You need to have nodejs and npm installed to run this project.

> I used versions `v14.17.0` and `6.14.13` of nodejs and npm respectively, and I suggest that you use the same or later versions.

## Installation

Run `npm install` (or `npm i` for the short version) to install the dev dependencies.

## Tests

Run `npm test` (or `npm t` for the short version) to run the tests in headless mode.

Run `npm run cy:open` to open Cypress in interactive mode.

___

Made with 💜 by [Walmyr](https://walmyr.dev).