Skip to content

jvelezpo/med-js-cypress-workshop

Repository files navigation

TodoMVC Travis Status Circle CI Build status Build Status

This repo contains an example React App, with the tests written in Cypress.

Additionally this example app is configured to run tests in Circle CI and Travis CI.

Repo from cypress talk

Help + Testing

The steps below will take you all the way through Cypress. It is assumed you have nothing installed except for node + git.

If you get stuck, here is more help:

1. Install Cypress

Follow these instructions to install Cypress.

2. Fork this repo

If you want to experiment with running this project in Continous Integration, you'll need to fork it first.

After forking this project in Github, run these commands:

## clone this repo to a local directory
git clone https://github.com/<your-username>/med-js-cypress-workshop.git

## cd into the cloned repo
cd med-js-cypress-workshop

## install the node_modules
npm install

## start the local webserver
npm start

The npm start script will spawn a webserver on port 8000 which hosts the TodoMVC app.

You can verify this by opening your browser and navigating to: http://localhost:8000

You should see the TodoMVC app up and running. We are now ready to run Cypress tests.

3. Add the project to Cypress

Follow these instructions to add the project to Cypress.

4. Run in Continuous Integration

Follow these instructions to run the tests in CI.

image

About

Workshop for MedellinJS with Cypress

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published