ISTQB Test Levels and Types 1 — Questions and Answers
Question 1: Which test level focuses on verifying that individual components work correctly together?
- Unit testing
- Integration testing (Correct answer)
- System testing
- Acceptance testing
Correct answer: Integration testing
Integration testing verifies that components or systems interact correctly with each other, focusing on interfaces and interactions.
Question 2: Who typically performs unit (component) testing according to ISTQB?
- End users
- Business analysts
- Developers (Correct answer)
- Independent test teams
Correct answer: Developers
Unit testing is typically performed by the developers who wrote the code, using white-box techniques to test individual components in isolation.
Question 3: What is the primary objective of system testing?
- Verify individual components in isolation
- Validate interfaces between modules
- Verify the complete integrated system meets specified requirements (Correct answer)
- Confirm the system meets user business needs
Correct answer: Verify the complete integrated system meets specified requirements
System testing evaluates the complete integrated system to verify it meets the specified functional and non-functional requirements.
Question 4: Which test level is most closely associated with validating that a system meets business processes and user workflows?
- Component testing
- Integration testing
- System testing
- User acceptance testing (UAT) (Correct answer)
Correct answer: User acceptance testing (UAT)
UAT validates that the system meets the needs of users and stakeholders by testing it against real business scenarios and workflows.
Question 5: In integration testing, what is a 'stub'?
- A defect logged during integration
- A simplified replacement for a called component (Correct answer)
- A test environment configuration script
- A coverage metric for integration tests
Correct answer: A simplified replacement for a called component
A stub is a simplified implementation that replaces a called (lower-level) component, allowing the calling component to be tested in isolation.
Question 6: Which ISTQB statement about test levels is MOST accurate?
- Test levels must always be executed strictly sequentially
- Each test level has its own specific test objectives and test basis (Correct answer)
- Unit testing always occurs before requirements are defined
- System testing always precedes integration testing
Correct answer: Each test level has its own specific test objectives and test basis
ISTQB defines each test level by distinct test objectives, a specific test basis, test objects, typical defects, and appropriate techniques.
Question 7: At which test level are user stories most commonly used as the test basis in Agile development?
- Component testing
- Integration testing
- System testing
- Acceptance testing (Correct answer)
Correct answer: Acceptance testing
In Agile, acceptance testing often uses user stories and acceptance criteria as the test basis to validate business value from the user's perspective.
Which test level focuses on verifying that individual components work correctly together?