In white-box testing, what does the term "coverage" typically refer to?
- Amount of code executed
- Number of defects found
- Number of test cases executed
- Test duration
In white-box testing, "coverage" refers to the amount or percentage of the codebase that has been tested. It provides an objective measure to ensure that most, if not all, paths, branches, statements, and conditions in the code have been exercised.
How does the "V-model" in SDLC differentiate from the traditional waterfall model in terms of testing integration?
- V-model doesn't involve testing
- V-model has testing after deployment
- V-model integrates testing in parallel to development
- V-model only includes unit testing
In the V-model, each development stage corresponds to a testing phase. As the development progresses downwards on the left side of the "V", testing activities are prepared. When development reaches integration and system levels, the testing phases commence upwards on the right side of the "V". This ensures that testing is integrated in parallel with development, unlike the Waterfall model where testing happens after the entire development phase.
When risks are too high and cannot be mitigated, a project might employ a risk _______ strategy to avoid the risk entirely.
- acceptance
- avoidance
- deflection
- transference
The risk avoidance strategy involves taking actions to remove the threat or condition that represents the risk entirely, essentially ensuring that the risk event doesn't occur. This strategy is employed when risks are deemed too high and cannot be mitigated.
QTP, now known as _______ , is a proprietary tool used for functional and regression testing.
- Quality Test Professional
- Quality Testing Prime
- QuickTech Pro
- Unified Functional Testing
QTP stands for QuickTest Professional. However, it was later rebranded by Hewlett-Packard (HP) as "Unified Functional Testing" (UFT). UFT provides a comprehensive solution for functional and regression testing and is one of the most popular tools in the testing industry for automating GUI testing tasks.
In the STLC, what factors determine the exit criteria of a testing phase?
- Customer feedback
- Number of test cases passed
- Personal judgment of testers
- Pre-defined set of conditions achieved
Exit criteria in the Software Testing Life Cycle (STLC) are a pre-defined set of conditions or metrics which must be achieved to conclude a testing phase. These conditions could include factors like achieving a certain percentage of test coverage, a limited number of high-severity defects remaining open, meeting performance benchmarks, etc. Having a clear exit criteria ensures that a testing phase achieves its intended quality objectives before moving to the next phase.
In white-box testing, which technique involves ensuring that every decision point (true and false) has been executed at least once?
- Cyclomatic Complexity
- Decision Coverage
- Path Coverage
- Statement Coverage
Decision Coverage in white-box testing ensures that each decision point or branch has been executed for both 'true' and 'false' conditions. It is more robust than simple statement coverage because it ensures that each decision leads the control flow in both directions.
Automated test suites are primarily managed using _______ tools to ensure organized execution.
- Compiler
- Debugger
- Test Management
- Version Control
Automated test suites, which consist of a collection of test scripts, test data, and execution sequences, require effective management to ensure organized execution and reporting. Test Management tools offer capabilities to define, organize, and execute tests, as well as to report defects and generate metrics, streamlining the automation workflow.
The role responsible for ensuring all test activities are completed within the stipulated time and budget is the _______.
- Automation Specialist
- QA Analyst
- Test Engineer
- Test Manager
The Test Manager oversees the entire testing process and ensures that all testing activities align with the project timelines and budget. They coordinate between stakeholders and the testing team, ensuring that the testing phase progresses smoothly.
What is the primary reason for incorporating feature flags or toggles in a Continuous Integration process?
- For database management
- To enable versioning control
- To enhance UI/UX designs
- To progressively release new features
Feature flags or toggles are utilized in Continuous Integration primarily to progressively release new features to a subset of users or environments. This means that a feature can be developed and integrated into the main codebase but can remain hidden to users until it's ready for release. It provides developers with the flexibility to test new functionalities without affecting all users and roll back quickly if issues arise.
How do "inherent risks" and "residual risks" differ in risk assessment?
- Inherent is accepted; Residual is unmanaged
- Inherent is mitigated; Residual is accepted
- Inherent is past; Residual is future
- Inherent is unmanaged; Residual is after controls
"Inherent risks" are the risks that exist in the absence of any control or action to address them. It's the natural level of risk that exists. "Residual risks" are the remaining risks after controls and actions have been applied to mitigate the inherent risks.