Skip to content

newscorp-ghfb/cypress-testing-workshop

 
 

Repository files navigation

Cypress Testing Workshop

An example repo containing a Todo application and exercise files to get started and/or increase your knowledge with Cypress. This was originally forked from Cypress' testing-workshop-cypress repo.

Requirements

Getting Started

In order to get the code and install dependencies

git clone [email protected]:mdcruz/testing-workshop-cypress.git
cd testing-workshop-cypress
npm install

If necessary, install dependencies inside TodoMVC folder

cd todomvc
npm install

Starting the Todo Application

cd todomvc
npm start

and you should see in the terminal

> json-server --static . data.json --middlewares ./node_modules/json-server-reset


  \{^_^}/ hi!

  Loading data.json
  Loading ./node_modules/json-server-reset
  Done

  Resources
  http://localhost:3001/todos

  Home
  http://localhost:3001

Starting the Cypress Test Runner

Open another terminal window and then type

npm run cy:open

Viewing the slides locally

If you want to view the slides locally, open another terminal window and then type

npm run slides:build
npm run slides:dev

Workshop Credits

Huge thanks to the Cypress team especially the code contributors for creating a workshop template 🎉

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • HTML 3.2%