Tuesday, January 14, 2014

Software Defect Prevention

As software testers, we focus on defect detection. In this post, let us see different ways to prevent defects in software. Preventing defects is preferred to detecting defects and removing them. The following guidelines may take us out of our comfort zone. However, they help us connect better with other team members (developers, designers and analysts).

  1. Keep the requirements as simple as possible.
  2. Review the requirements for clarity, completeness, no conflicts and testability.
  3. Use design standards.
  4. Review the software design.
  5. Keep the software code as simple as possible.
  6. Use coding standards.
  7. Unit test the code.
  8. Review the code.
  9. Refactor code to make it simple to understand.
  10. Always communicate well within the team about requirements, design and code.