E2E Testing with Cypress

Published on May 15, 2020


houseplant with a laptop in the background

It's a common sentiment to be frustrated with writing code tests. It's often an afterthought, if it happens at all. In a startup environment, it can be even more difficult when you have deadlines that leave little room for error. It is in this type of fast-paced development that testing is arguably more important! Everyone is working as quickly as possible to add new features and fix bugs. Having a solid testing pipeline can save many headaches.

I recently started using an end-to-end testing framework called Cypress. As one of those people who hates writing tests but begrudgingly does it - I was surprised to find that I actually enjoyed using Cypress. Before I knew it, a whole day had passed and I actually had a number of flows tested. It was incredibly liberating to spend those hours actually testing, and not just fighting with the installation or trying to understand the syntax.

If you're on the fence about adding end-to-end testing in your JavaScript application, I recommend trying Cypress.