May 2019
Intermediate to advanced
504 pages
11h 50m
English
Let's assume we have a suite of unit tests testing the view models of our client app. We have also implemented unit tests that control the integrity of the IApiClient implementation, which is our main line of communication with the service layer. In the first suite, we will be mocking IApiClient, and in the latter suite, we will be mocking the HTTP client. In these two suites, we have covered all of the tiers from the core logic implementation down until the request is sent over the transport layer.
At this point, the next order of business is to write integration tests that will use the actual implementation of IApiClient to send service requests to the service API facade (also known as the gateway). ...
Read now
Unlock full access