Prepare for your Software Quality Assurance Exam. Utilize our tailored flashcards and multiple choice questions. Each question provides helpful hints and explanations. Master the content and ace your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


According to software testing principles, what should a programmer avoid doing?

  1. Attempting to test his or her own program

  2. Implementing code without testing

  3. Reusing old test cases

  4. Sharing test results

The correct answer is: Attempting to test his or her own program

A programmer should avoid attempting to test his or her own program because it can lead to a conflict of interest. This principle is rooted in the idea that a person may be biased when evaluating the effectiveness and correctness of their own work. When developers test their own code, they may overlook defects or be less rigorous in their assessments due to familiarity or emotional attachment to the code they created. Objective testing is crucial for identifying issues effectively, and involving independent testers can lead to more thorough and unbiased evaluations. Therefore, to ensure quality and maintain high testing standards, it's recommended that programmers have their code tested by others who can provide fresh perspectives and catch errors that the developer might miss.