Recall & Review
beginner
What is integration testing in software development?
Integration testing checks if different parts of a program work together correctly. It tests combined modules to find issues in their interaction.
Click to reveal answer
beginner
Why is integration testing important for REST APIs?
It ensures that different API endpoints and services communicate and work together as expected, catching errors that unit tests might miss.
Click to reveal answer
intermediate
Name two common approaches to integration testing.
1. Top-down: Test from the top module downwards.<br>2. Bottom-up: Test from the bottom modules upwards.
Click to reveal answer
intermediate
What is a stub in integration testing?
A stub is a fake module that simulates the behavior of a called component to help test parts of the system before all components are ready.
Click to reveal answer
beginner
How does integration testing differ from unit testing?
Unit testing checks individual parts alone, while integration testing checks if those parts work well together.
Click to reveal answer
What does integration testing primarily focus on?
✗ Incorrect
Integration testing checks the interaction between different modules or components.
Which of these is NOT a common integration testing approach?
✗ Incorrect
Sideways is not a recognized integration testing approach.
In REST API testing, integration tests often check:
✗ Incorrect
Integration tests verify that API endpoints work together and return correct combined results.
What is a stub used for in integration testing?
✗ Incorrect
A stub simulates a module that is not yet ready to help test other parts.
Which testing type comes after unit testing in the software testing process?
✗ Incorrect
Integration testing follows unit testing to check combined parts.
Explain in your own words what integration testing is and why it matters for REST APIs.
Think about how different API parts need to work together smoothly.
You got /3 concepts.
Describe two common approaches to integration testing and when you might use each.
Consider starting tests from the main module or from smaller parts.
You got /3 concepts.