-
Notifications
You must be signed in to change notification settings - Fork 0
What is mockServer in android
Devrath edited this page Mar 2, 2024
·
2 revisions
- Mock server is used to create and monitor a
dummy server
instead of a real server. - You can mock a dummy response and test your classes for that response.
- You do not have to rely on the
backend server
and use thisdummy server
.
- Mocking multiple different responses.
- Simulating error responses.
- Simulating slow network responses.
- Using the responses, We can fix the app's logic without relying on the backend server.
- It is used in integration testing to check if Android app work correctly with different components together.