HR Quality Control & Assurance 5 — Questions and Answers
Question 1: In HR software QA, what does 'test coverage' measure?
- The number of QA engineers assigned to the project
- The proportion of code, requirements, or user scenarios exercised by tests (Correct answer)
- The total hours spent on testing activities
- The percentage of bugs fixed within a sprint
Correct answer: The proportion of code, requirements, or user scenarios exercised by tests
Test coverage quantifies how much of the codebase, requirements set, or user journey is exercised by the existing test suite.
Question 2: Which type of testing would evaluate whether the HR system remains stable after running continuously for 72 hours?
- Volume testing
- Soak (endurance) testing (Correct answer)
- Spike testing
- Compatibility testing
Correct answer: Soak (endurance) testing
Soak testing (endurance testing) runs the system under normal load for an extended period to detect memory leaks, resource exhaustion, or degradation over time.
Question 3: A QA manager wants to prioritize testing based on the likelihood and impact of potential failures. This approach is called:
- Random testing
- Risk-based testing (Correct answer)
- Exploratory testing
- Boundary testing
Correct answer: Risk-based testing
Risk-based testing allocates testing effort to the areas of highest risk — those most likely to fail and with the greatest business impact if they do.
Question 4: When a developer writes tests before writing the feature code in an HR software sprint, this practice is called:
- Behavior-driven development
- Test-driven development (TDD) (Correct answer)
- Exploratory testing
- Acceptance testing
Correct answer: Test-driven development (TDD)
Test-Driven Development (TDD) requires writing failing tests first, then writing just enough code to make those tests pass, resulting in better-designed code.
Question 5: An HR system update changes the tax withholding logic. Which test type should be run immediately to confirm the payroll module still processes standard paychecks correctly?
- Exploratory testing
- Sanity testing (Correct answer)
- Load testing
- Mutation testing
Correct answer: Sanity testing
Sanity testing is a narrow, focused check after a specific change to confirm that the fix or feature works as expected without running the full regression suite.
Question 6: What is the primary goal of a QA 'exit criteria' in HR software testing?
- Define when testing can be stopped and the release can proceed (Correct answer)
- Specify how defects should be logged in the bug tracker
- Outline the responsibilities of each team member
- Determine the budget allocated for testing tools
Correct answer: Define when testing can be stopped and the release can proceed
Exit criteria are predefined conditions that must be met — such as zero open P1 bugs and 95% test case pass rate — before testing is deemed complete and release is approved.
Question 7: A QA team uses pair testing where a developer and a tester work together at the same workstation. The main benefit is:
- Reduced hardware costs for the QA lab
- Faster defect detection through real-time collaboration and knowledge sharing (Correct answer)
- Eliminating the need for a formal test plan
- Replacing automated tests with manual exploration
Correct answer: Faster defect detection through real-time collaboration and knowledge sharing
Pair testing combines the developer's knowledge of implementation with the tester's adversarial mindset, surfacing defects faster and improving code quality collaboratively.
In HR software QA, what does 'test coverage' measure?