Course outline: Career kit
Module 04 · Career kit
Testing principles interview questions
15 questions an interviewer may ask about testing principles, each with a short answer you can say out loud.
Questions and answers
List the Seven Testing Principles.
1. Testing shows presence of defects, 2. Exhaustive testing is impossible, 3. Early testing, 4. Defect clustering, 5. Pesticide paradox, 6. Testing is context-dependent, 7. Absence of errors fallacy.
Why do we say “Testing shows the presence of defects, not their absence”?
Testing can reveal defects, but cannot prove that software is defect-free. Even after extensive testing, undiscovered defects may still exist.
Explain the principle “Exhaustive Testing is impossible.”
Testing all possible inputs and scenarios is impractical due to time and resource constraints. Testers must prioritize based on risk and importance.
How does early testing help in reducing project costs?
Early testing identifies defects sooner, reducing the cost and effort required to fix them compared to late-stage detection.
What is the Pareto Principle (Defect Clustering) in software testing?
A small number of modules or components tend to contain most of the defects. Focus testing efforts on these high-risk areas.
Explain the Pesticide Paradox in testing.
If the same tests are repeated over and over, they will eventually stop finding new bugs. Tests need to be regularly reviewed and updated.
What does “Testing is context-dependent” mean?
Testing is done differently based on the context of the application, industry, and project goals. Different approaches are needed for safety-critical software vs. e-commerce sites.
Define “Absence of errors fallacy.”
Finding and fixing defects does not guarantee the system meets user needs. It's possible to deliver a defect-free product that is unusable.
What is the difference between Verification and Validation in testing terms?
Verification ensures the software conforms to specifications, while validation ensures it meets user needs and expectations.
Give examples of Verification activities.
Code reviews, inspections, walkthroughs, and unit testing.
Give examples of Validation activities.
System testing, user acceptance testing, and beta testing.
Compare QA vs. QC with real-world examples.
QA is like a chef ensuring consistent recipe adherence (process), while QC is like a food taster checking the final dish (product).
What is a Test Oracle, and when is it used?
A Test Oracle is a source of expected results to verify the correctness of test outcomes. It can be a specification, a user manual, or a similar system.
Explain the concept of “Shift Left” in testing.
Shift Left means starting testing earlier in the SDLC, involving testers in requirements and design phases.
What is the role of a risk-based testing approach?
Risk-based testing prioritizes testing efforts based on the likelihood and impact of potential failures.
New to some of these? Read the lesson behind this topic.
More interview topics
- QA basics
- SDLC
- STLC
- Levels of testing
- Functional testing
- Non-functional testing
- White box testing
- Black box testing
- Gray box testing
- Test planning and documentation
- Test execution and defects
- Jira and work management
- API testing
- Mobile app testing
- Database testing
- Test automation
- Performance and security testing
- Bug reporting and communication
- Agile testing
- Localisation and globalisation
- Test metrics and reporting
- QA team structure