Changing the Game with Cypress

Changing the Game with Cypress

When we talk about UI tests, the first thing that comes to mind is probably Selenium. No wonder, it's the most widely used testing framework for web applications. It was originally developed in 2004 and now, after 14 years, it is still hard to implement it correctly. Tests are often flaky, painful to debug, and the overall developer experience is rather poor. But for many years there wasn't another choice, until Cypress was born. Cypress tries to solve the biggest testing challenges, e.g. painless setup, easy to write tests, support for async testing, performance, and a good understanding of why tests fail. Cypress is made from scratch focusing on developer experience, debugability and consistency.

In this talk, we'll look at how to get started with Cypress and dive into some basic tests. We'll also see how to work with http requests, access the Local Storage and explore the debugging capabilities of Cypress.

Links:
https://github.com/d3lm/todomvc

7764379521726735c164889159c8f387?s=128

Dominic Elm

August 10, 2018
Tweet