Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wlsf82/cysh
This project offers a single shell script that quickly initializes a Cypress testing automation project from scratch.
https://github.com/wlsf82/cysh
boostrap-cypress-project cypress shell-script talking-about-testing testing
Last synced: about 1 month ago
JSON representation
This project offers a single shell script that quickly initializes a Cypress testing automation project from scratch.
- Host: GitHub
- URL: https://github.com/wlsf82/cysh
- Owner: wlsf82
- License: mit
- Created: 2021-09-21T14:14:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T14:41:18.000Z (8 months ago)
- Last Synced: 2024-05-22T15:56:04.084Z (8 months ago)
- Topics: boostrap-cypress-project, cypress, shell-script, talking-about-testing, testing
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 23
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cysh
This project offers a single shell script that quickly initializes a [Cypress](https://cypress.io) testing automation project from scratch.
> **Note:** This script only works on Unix-based operating systems, such as Linux and OSX.
## Usage
1. Download the [`cy.sh`](./cy.sh) file and move it to your root directory
2. In the root directory, run `./cy.sh name-of-the-project-you-want-to-create` to create a Cypress project from scratch (you might have first to give execution permission to the `cy.sh` file)
2.1. Alternatively, you can run `./cy.sh name-of-your-project-here x.x.x` (where `x.x.x` is the specific Cypress version you want to install). Otherwise, the latest version is installed.3. After the script is run, access the newly created directory and run `npx cypress open` to 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](./cy.sh) file.
## Support this project
If you liked this project, consider leaving a ⭐.
___
Created with 🖤 by [Walmyr](https://walmyr.dev).