Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkoertgen/hello.cypress
A blueprint for getting started with Cypress
https://github.com/mkoertgen/hello.cypress
Last synced: 2 months ago
JSON representation
A blueprint for getting started with Cypress
- Host: GitHub
- URL: https://github.com/mkoertgen/hello.cypress
- Owner: mkoertgen
- Created: 2019-02-24T08:00:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-31T19:48:00.000Z (7 months ago)
- Last Synced: 2024-05-31T21:04:58.739Z (7 months ago)
- Language: JavaScript
- Size: 4.89 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello.cypress
A blueprint getting started with [Cypress.io](https://www.cypress.io/)
## My-App
A sample React App, bootstrapped with [Create React App (TypeScript)](https://create-react-app.dev/docs/adding-typescript/#installation)
```shell
$ cd my-app
$ npm install
# Run the app -> http://localhost:3000
$ npm start# In another terminal, run e2e-tests
$ npm run test:e2e
...
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ √ sample-spec.cy.js 479ms 1 1 - - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
√ All specs passed! 479ms 1 1 - - -
```## Cypress
A container executing e2e-tests suitable for a CI/CD pipeline.
```shell
docker-compose run --rm cypress
```## References
- [Cypress.io](https://www.cypress.io/)
- [Cypress.io - Docker](https://docs.cypress.io/guides/guides/continuous-integration.html#Docker)
- [Cypress.io - Command Line](https://docs.cypress.io/guides/guides/command-line)### Alternatives
- [TestCafe](https://devexpress.github.io/testcafe/)
- [TestCafe vs Cypress: Core Differences](https://www.browserstack.com/guide/testcafe-vs-cypress)