Why is testing important?
As we saw in the previous chapters, modern applications are complex, have many moving parts, and will have dependencies.
Overall, we can say that testing is important because it helps us to ensure that our code is working as expected and that we are not introducing bugs when we are adding new features or fixing bugs.
Testing is a complex culture
Testing is much more than just writing some code to validate your application. It’s a culture that has many ideas, principles, practices, and tools... Have you heard of TDD? BDD? Unit tests? Integration tests? End-to-end tests? Mocks? Stubs? Spies? There are many concepts to learn and understand, and we will explore some of them in this chapter.
Testing has to be a team activity
Testing will help you to onboard new developers to your team easily. You can join other teams to help them build new features or fix bugs even if you don’t know the code base in depth.
I love to see tests as...