Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Test Production Ready Apps with Cypress

via egghead.io

Overview

One of the most important — but most ignored — practices for web developers is performing end-to-end testing on applications before they go live into production. You know: making sure they work like they’re supposed to. But testing can be tedious, and definitely not fun.
In this course, Brett Cassette will show you how you can test all layers of your application stack, simultaneously, with Cypress. When you use Cypress, it’s like having a robot that uses your app the way a real user would. Cypress reports if things work the way you designed them to — and if they don’t — every step of the way. And it’s fun.
After completing this course, you’ll be ready to apply the same E2E testing principles to your own applications. Stop leaning on your QA department (if it exists) to stress-test your application, and ship your app knowing it’s ready.

Syllabus

  • Course Introduction: Test Production Ready Apps with Cypress
  • Install Cypress in a Production Application
  • Setup Your Cypress Dev Environment
  • Write Your First Cypress Integration Test
  • Use the Most Robust Selector for Cypress Tests
  • Debug and Log with Cypress
  • Mock Your Backend with Cypress
  • Assert on Your Redux Store with Cypress
  • Create Custom Cypress Commands
  • Wrap External Libraries with Cypress
  • Reuse Data with Cypress Fixtures
  • Mock Network Retries with Cypress
  • Find Unstubbed Cypress Requests with Force 404
  • Extend Cypress with Plugins
  • Seed Your Database in Cypress
  • Productionize Your Database Seeder in Cypress
  • Assert on Database Snapshots in Cypress
  • Assert on XHR Requests in Cypress
  • Full End-To-End Testing in Cypress

Taught by

Brett Cassette

Reviews

4.4 rating at egghead.io based on 133 ratings

Start your review of Test Production Ready Apps with Cypress

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.