Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Course Introduction: Test Production Ready Apps with Cypress


    Cypress allows full-stack end-to-end testing. You can test the UI, the frontend stores, the XHR requests, and the database, and interact with every layer in the same test.

    But Cypress doesn't do all this out of the box. This course will introduce you to the techniques and abstractions used to handle full-stack testing.



    Become a Member to view code

    You must be a Pro Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    orLog In




    Instructor: 0:00 End-to-end testing gets a bad name. It's flaky. It's unreliable. It's slow. All of that change with Cypress.

    0:10 Cypress sees the world like a real user. It knows what's visible, what's hidden. It automatically waits for objects to show up on the dome. No more sleeps. No more waits. Cypress handles this out-of-the-box.

    0:24 You can travel through time. You can take screenshots. That all just undersell the sales pitch. That says Cypress is better and faster than what came before, but Cypress is more than that. It's a paradigm shift in end-to-end testing. That's because it can test every layer of the stack, the database, the API, the XHR request, our UI, our frontend stores, everything.

    0:56 With Cypress, you can interact with your frontend and your backend and everything in between. Confusing error codes can become a thing of the past because if you test every layer in order, you can pinpoint the exact location where the contract breaks down. You can communicate with new team members more effectively what the dataflow looks like.

    1:17 Yes, we can still use diagrams and drawings, but you can also say it all with the test now. Now you can't quite do all of this out-of-the-box with Cypress. That's why, in this course, I'm going to show you how you can build a transformative testing environment.