To be able to develop good software, writing tests is mandatory. Writing tests will prove that your code is working properly and help you detect issues the QA teams would not find otherwise. In this chapter, we will guide you through testing guidelines and show you practical examples of how to do it. We will start by explaining the importance of testing and then continue towards practical steps in tests, including writing and common testing practices.
In this chapter, we will talk about the following:
- Why is testing a crucial part of development?
- Some bad development practices
- Some good development practices