Unit Testing
Unit testing focuses on the smallest parts of the application such as individual functions or methods. The goal is to catch problems as early as possible. Imagine testing a function that calculates delivery fees. You would check normal values, edge cases and unusual inputs to make sure the logic is solid.
Good unit tests act like guardrails and make future changes safer and easier.