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 that come from using it in the software development life cycle. In this chapter, we will utilize a test-driven approach to write tests that will significantly contribute to an increased level of trust and confidence...