Chapter 6: Writing Cypress Tests Using the TDD approach

Now that we've completed Part 1 of this book – that is, Cypress as an End-to-End Testing Solution for Frontend Applications – it is time to move on to Part 2 of this book, which will focus on Automated Tests with a TDD Approach.

Before we can start writing Cypress tests using a TDD (TDD) approach, we need to understand how to properly write Cypress tests. This was covered in the previous chapters of this book. To excel in this topic, you will need to have an understanding of how Cypress tests work, the structure of tests, and the different ways in which Cypress tests can be used to make assertions. This background information will help you understand how to use TDD in Cypress and the advantages ...

Get End-to-End Web Testing with Cypress now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.