Chapter 4: Building a Test Suite with TestCafe
Now, as we've been through the main concepts of TestCafe and reviewed its arsenal, let's draw a weapon and write some tests! The main goal here will be to get familiar with how to write a set of end-to-end tests (a test suite) with TestCafe. This is extremely important because the testing techniques that we will cover are universal and can be reused to write automated tests for any web project.
To sum up, this chapter will cover the following main topics:
- Creating a test.
- Debugging the tests.
- Writing the test project log in tests.
- Adding verifications to the test project.
- Adding custom code execution to the test project.
- Adding more tests.