QuestionQ27

Managing and Mitigating Cyber Risk

Which of the following statements regarding testing are true?

Each correct answer represents a complete solution. Choose all that apply.

Choose three
  • A A stub is a program that simulates a calling unit, and a driver is a program that simulates a called unit.
  • B In unit testing, each independent unit of an application is tested separately.
  • C In integration testing, a developer combines two units that have already been tested into a component.
  • D The bottom-up approach to integration testing helps minimize the need for stubs.
Explanation

Unit testing evaluates individual application units separately. Integration testing combines previously tested units to verify their interfaces and interactions. Bottom-up integration begins with lower-level units and therefore minimizes the need for stubs; stubs simulate called units, whereas drivers simulate calling units. The ISTQB Foundation Level syllabus defines component testing as testing components in isolation and component integration testing as testing interfaces and interactions between components.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!