The _______ metric provides insight into how promptly a team responds to and addresses defects.
- Defect Age
- Defect Density
- MTBF
- Test Coverage
The "Defect Age" metric is a measure of the time between when a defect is introduced into the system and when it's discovered and resolved. It provides insight into how quickly a team identifies and addresses defects. MTBF (Mean Time Between Failures) measures the expected time between two successive failures of a system.
Usability, consistency, and adherence to design guidelines are primary considerations in _______ testing.
- Compatibility
- Load
- Usability
- User Acceptance (UAT)
Usability testing is geared towards understanding how end-users interact with the software and ensuring a positive user experience. The primary considerations involve the system's ease of use, its consistency in design and functionality, and adherence to user interface design guidelines. UAT, on the other hand, determines if the system meets user needs, while load and compatibility have different focuses.
What is the primary goal of security testing?
- To discover software bugs
- To enhance software performance
- To ensure a seamless UI
- To identify vulnerabilities and weaknesses
Security testing primarily aims to identify vulnerabilities, weaknesses, and potential threats in a software application. It is crucial for protecting data from unauthorized access and breaches, ensuring the confidentiality, integrity, and availability of the system.
When is automated testing NOT recommended?
- For frequently changing requirements
- For large-scale projects
- For one-time testing scenarios
- For performance testing
Automated testing involves the initial cost of writing and maintaining scripts, making it not cost-effective for one-time testing scenarios. While automation can handle large-scale projects and performance testing, it's not recommended when the requirements change often.
_______ are typically used as placeholders for activities that should be developed during incremental integration testing.
- Drivers
- Simulators
- Stubs
- Test Harnesses
Stubs are used in incremental integration testing as placeholders for modules that have not yet been developed. They simulate the behavior of these missing modules and allow testing to continue in the presence of incomplete components.
When managing an automated test suite, what's the primary purpose of regularly updating and maintaining the test suite?
- To accommodate new testing tools
- To ensure the test suite matches the current application
- To integrate with third-party applications
- To make the suite look appealing
Regularly updating and maintaining an automated test suite is crucial to ensure that the suite is always in sync with the current version of the application. As software evolves, test cases that were once relevant might become obsolete, and new test scenarios may arise. Maintenance ensures the suite remains effective and reflective of current needs.
During a project review, it's revealed that certain parts of the codebase have been overlooked during testing. Which white-box testing metric might help identify these areas?
- Cyclomatic Complexity
- Load Testing
- Reliability Testing
- Response Time
Cyclomatic Complexity is a white-box testing metric used to determine the complexity of a program. It calculates the number of linearly independent paths through a program's source code. A higher complexity score can indicate areas of the code that might be riskier or overlooked during testing, thus requiring more thorough testing.
In the context of risk management, the term used to describe the level of risk after mitigation efforts have been applied is known as _______ risk.
- controlled
- inherent
- initial
- residual
Residual risk is the risk that remains after all risk response, mitigation, or prevention activities have been implemented. It represents the remaining threat even after you've taken measures to reduce the severity or likelihood of the adverse event.
Which tool is open-source and widely used for web application automation testing?
- Appium
- Cucumber
- Selenium
- TestNG
Selenium is an open-source framework specifically designed for web application automation testing. It supports various browsers and languages like Java, C#, and Python. While other tools like Appium, TestNG, and Cucumber have their specialties, Selenium stands out for web automation.
Imagine you are working on a software project with very tight deadlines. The development team frequently releases new features. How would you approach testing in this environment?
- Conduct tests only after major releases.
- Implement rigorous regression testing.
- Prioritize risk-based testing.
- Stick to exhaustive manual testing.
In environments with tight deadlines and frequent releases, exhaustive testing isn't always feasible. Risk-based testing allows the team to prioritize critical areas and ensures that the most impactful and risk-prone features are tested first. This approach ensures better utilization of limited time and resources.