Summary
In this chapter, we looked at various software engineering best practices, such as TDD, unit and integration testing, code coverage, static code analysis, and code style and formatting. We have seen how TDD helps with building code that is easy to test and maintain, how code coverage gives you an understanding of how much of your code base has unit tests written, and how static code analysis can help you address potential vulnerabilities. Though we have shown how to run these tests and checks locally, we usually want to run them in our Git repositories or CI/CD tools.
In the next chapter, we are going to look at CI/CD with GitHub.