Introducing advanced testing techniques
In this closing section, we will introduce a couple of extra topics that are part of testing but have not been covered in this chapter. As I mentioned at the start of this chapter, testing is a very large subject, and this was just a quick introduction to ensure that you will know how to get started and create simple tests. However, it is by no means a complete guide, and further learning is required.
The aim of this section is to explain a few aspects of testing that you may find in your future experience when creating E2E testing or unit testing. Some of this applies to both E2E and unit testing, while others are unique to a single testing methodology.
Testing is a very interesting subject because what you learn about it is driven entirely by which you work. So, some people may have to learn how to write tests that heavily rely on external APIs and therefore focus on implementing stubs and mocks, while other developers may work on application...