cypress-io / cypress-realworld-testing

Next.js project for learn.cypress.io

Home Page:https://learn.cypress.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real World Testing with Cypress

Real World Testing with Cypress is a free and open source testing curriculum built with Next.js by the team at Cypress. Start learning today at learn.cypress.io

Screen Shot 2022-03-23 at 11 44 30 AM

Installation

git clone https://github.com/cypress-io/cypress-realworld-testing.git

cd cypress-realworld-testing

yarn install

yarn dev # starts dev server

Documentation

Documentation lives inside of the /docs folder and is powered by VuePress. The best way to view the docs is by running the following command.

yarn docs:dev

This will spin up a local server and serve the docs site.

Unit Tests

The units tests are powered by Mocha and can be run with the following command.

yarn test:unit

Cypress E2E Tests

Cypress tests can be run via the Cypress test runner and UI with the following command.

yarn cypress:open

The same tests can be run in headless mode, as they would be in CI with the following command.

yarn cypress:run

About

Next.js project for learn.cypress.io

https://learn.cypress.io

License:MIT License


Languages

Language:MDX 67.5%Language:TypeScript 30.1%Language:JavaScript 1.6%Language:CSS 0.8%Language:Shell 0.0%