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.
- Host: GitHub
- URL: https://github.com/wlsf82/dynamic-fixtures
- Owner: wlsf82
- License: mit
- Created: 2021-09-12T21:27:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-13T16:50:00.000Z (about 4 years ago)
- Last Synced: 2025-04-23T08:14:38.543Z (6 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 14
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).