https://github.com/bytrangle/conduit-cypress
Demo of end-to-end testing with Cypress on a Medium clone app.
https://github.com/bytrangle/conduit-cypress
cypress cypress-example javascript testing
Last synced: over 1 year ago
JSON representation
Demo of end-to-end testing with Cypress on a Medium clone app.
- Host: GitHub
- URL: https://github.com/bytrangle/conduit-cypress
- Owner: bytrangle
- License: mit
- Created: 2020-12-18T10:12:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-18T10:42:03.000Z (over 5 years ago)
- Last Synced: 2024-10-14T11:03:08.986Z (over 1 year ago)
- Topics: cypress, cypress-example, javascript, testing
- Language: JavaScript
- Homepage:
- Size: 1.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# realworld [![renovate-app badge][renovate-badge]][renovate-app] [](https://circleci.com/gh/cypress-io/cypress-example-realworld/tree/master) [](https://coveralls.io/github/cypress-io/cypress-example-realworld?branch=master) [](https://dashboard.cypress.io/#/projects/bh5j1d)
Fork of [applitools/cypress-applitools-webinar](https://github.com/applitools/cypress-applitools-webinar) which is a fork of [gothinkster/realworld](https://github.com/gothinkster/realworld) "Conduit" blogging application.

## Tests
The tests are in [cypress/integration](cypress/integration) folder
## Full code coverage
Front- and back-end coverage for this application is collected using the [@cypress/code-coverage](https://github.com/cypress-io/code-coverage) plugin. You can run the locally instrumented server and client using `npm run dev:coverage` command. The backend coverage is exposed in [server/server/index.js](server/server/index.js) via endpoint listed in [cypress.json](cypress.json) (usually `GET /__coverage`). The frontend coverage is collected by instrumenting the web application source code on the fly, see the [client/.babelrc](client/.babelrc) file.
The combined report is saved in `coverage/index.html` after the tests finish:

To learn more, read the [Cypress code coverage guide](https://on.cypress.io/coverage).
[renovate-badge]: https://img.shields.io/badge/renovate-app-blue.svg
[renovate-app]: https://renovateapp.com/
Requires Python 2.7 for node-gyp to be compiled.