Summary
In this chapter, we discussed why you should use automated testing and how it improves your code quality. We covered the main three testing types, which are unit testing, integration testing, and E2E testing, with their pros and cons, potential pitfalls, and our recommendations on how to use them. Finally, you learned about the concept of code coverage, and how to use it in your own projects.
Together with the knowledge from the previous chapter about code quality tools and how to organize them, in the next chapter, we can finally start combining all these tools together into a process that helps to run all of them in structured and reliable ways—build pipelines.