Testing Interview Questions and Answers
Question - 91 : - Mention what the purpose behind doing end-to-end testing is?
Answer - 91 : -
End-to-end testing is done after functional testing. The purpose behind doing end-to-end testing is that
- To validate the software requirements and integration with external interfaces
- Testing application in real-world environment scenario
- Testing of interaction between application and database
Question - 92 : - Mention what the basic components of defect report format are?
Answer - 92 : -
The essential components of defect report format include
- Project Name
- Module Name
- Defect detected on
- Defect detected by
- Defect ID and Name
- Snapshot of the defect
- Priority and Severity status
- Defect resolved by
- Defect resolved on
Question - 93 : - Explain what the meaning of Code Walk Through is?
Answer - 93 : -
Code Walk Through is the informal analysis of the program source code to find defects and verify coding techniques
Question - 94 : - Mention what the meaning of breath testing is?
Answer - 94 : -
Breath testing is a test suite that exercises the full functionality of a product but does not test features in detail
Question - 95 : - Mention what the different types of test coverage techniques are?
Answer - 95 : -
Different types of test coverage techniques include
- Statement Coverage: It verifies that each line of source code has been executed and tested
- Decision Coverage: It ensures that every decision in the source code is executed and tested
- Path Coverage: It ensures that every possible route through a given part of the code is executed and tested
Question - 96 : - Mention what bottom-up testing is?
Answer - 96 : -
Bottom-up testing is an approach to integration testing, where the lowest level components are tested first, then used to facilitate the testing of higher level components. The process is repeated until the component at the top of the hierarchy is tested.
Question - 97 : - Explain what the difference between latent and masked defects is?
Answer - 97 : -
- Latent defect: A latent defect is an existing defect that has not caused a failure because the sets of conditions were never met
- Masked defect: It is an existing defect that has not caused a failure because another defect has prevented that part of the code from being executed
Question - 98 : - Explain which test cases are written first black boxes or white boxes?
Answer - 98 : -
Black box test cases are written first as to write black box test cases; it requires project plan and requirement document all these documents are easily available at the beginning of the project. While writing white box test cases requires more architectural understanding and is not available at the start of the project.
Question - 99 : - Explain how to test documents in a project that span across the software development lifecycle?
Answer - 99 : -
The project span across the software development lifecycle in the following manner
- Central/Project test plan: It is the main test plan that outlines the complete test strategy of the project. This plan is used till the end of the software development lifecycle
- Acceptance test plan: This document begins during the requirement phase and is completed at the final delivery
- System test plan: This plan starts during the design plan and proceeds until the end of the project
- Integration and Unit test plan: Both these test plans start during the execution phase and last until the final delivery
Question - 100 : - Mention what the difference between a “defect” and a “failure” in software testing is?
Answer - 100 : -
In simple terms when a defect reaches the end customer, it is called a failure while the defect is identified internally and resolved; then it is referred to as a defect.