cysh
cysh copied to clipboard
This project offers a single shell script that quickly initializes a Cypress testing automation project from scratch.
cysh
This project offers a single shell script that quickly initializes a Cypress testing automation project from scratch.
Note: This script only works on Unix-based operating systems, such as Linux and OSX.
Usage
-
Download the
cy.shfile and move it to your root directory -
In the root directory, run
./cy.sh name-of-the-project-you-want-to-createto create a Cypress project from scratch (you might have first to give execution permission to thecy.shfile) 2.1. Alternatively, you can run./cy.sh name-of-your-project-here x.x.x(wherex.x.xis the specific Cypress version you want to install). Otherwise, the latest version is installed. -
After the script is run, access the newly created directory and run
npx cypress opento start Cypress for the first time so it will bootstrap itself.
What does cy.sh do?
To understand exactly what it does, read the comments in the cy.sh file.
Support this project
If you liked this project, consider leaving a ⭐.
Created with 🖤 by Walmyr.