Microservices with Docker on Microsoft Azure™ (includes Content Update Program)
by Boris Scholl, Trent Swanson, Daniel Fernandez
Testability Framework
As we have seen in Chapter 6, testing plays an important role in the DevOps cycle of microservices development. Whereas code-centric tests like unit tests are still up to the developer, Service Fabric supports testing applications and services for faults in a number of ways.
The simplest and easiest way to test our service in case of node failures is using the Service Fabric Explorer. It provides an easy way to shut down, stop and restart nodes. Those types of tests enable us to see how a service behaves under those circumstances and thus provide valuables insights. When testing stateful services, we can usually observe how Service Fabric promotes a secondary to become the primary while the service is still available and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access