Summary
Writing services requires a lot of supporting code and networking that monolithic applications don’t need. And the deployment and management of services are also more involved. So why would anybody design a solution that uses services instead of putting everything into a single monolithic application? Because services can help simplify the design of your applications, especially for very large applications. And because services run on distributed computers, you can scale a solution and increase reliability. Releasing changes and new features in your solution also becomes easier with services because each service can be tested and updated by itself. You don’t have to test one giant application and release everything all at once.
This chapter explored some of the different testing challenges with services and what can be tested. You were introduced to a simple service that skips routing and networking and goes straight to the core of what makes a service: the...