Skip to content

Commit

Permalink
Wrote outline for simple end to end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Murray2015 committed Jul 12, 2020
1 parent 622b87a commit f88d8f0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
28 changes: 28 additions & 0 deletions cypress-testing/simple-end-to-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Simple end to end testing with Cypress

## Outline
- Why do you need testing?
- Regression is a pain
- Speeds up development
- Speeds up documentation
- Avoids embarrassment
- Installing Cypress
- What's it for?
- Websites
- Webapps
- Mobile (e.g. React Native, Ionic) apps and PWAs
- Via npm
- Via yarn
- Other installation methods
- Setting up your first test
- Include in package.json
- Initialise Cypress
- Describe, it from Mocha
- Visit the website
- If you're just going to write 1 end to end test...
- The idea of testing the most common action - which will catch a large proportion of the most common bugs
- Show an example
- Automating it.
- Getting it to run on Jenkins
- Other methods of automating: run from Jest tests?
- npm scripts?
8 changes: 8 additions & 0 deletions ideas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Ideas for blog posts

# Coding
- Map, filter, reduce methods
- Cypress testing
- Simple end to end (e2e) testing with Cypress
- Make a chloropleth map using Leaflet.js
- Make a todo app with Ionic-react

0 comments on commit f88d8f0

Please sign in to comment.