Agile Event Session

Testing Microservices – See It, Feel It, Touch It, Heal It, Explore It

This video content is for Agile Alliance members only

If you’re already an active member, please log in now.

To view this content, and gain access to many more valuable resources, conference discounts, and invitations to exclusive networking and learning events, please consider becoming an Agile Alliance member.

Abstract/Description

Microservices are becoming more prevalent. External behavior of an application depends on multiple services working together. Each service needs to be checked that it both provides the desired behavior as well as handles exceptions and error conditions, such as the inability to communicate with a dependency. Interactions between these services needs to be checked and monitored. Checking behavior does not stop at deployment but needs to continue after release. From a testing perspective, microservices can be viewed both as mini-applications with external behavior and as internal components. For applications, the externally facing triad (customer, developer, and tester) collaborates to create tests for behavior; for internal components, a different triad ( consumer, producer, and tester) generates these tests. To properly test microservices, we need to see, feel, touch, heal, and explore them. This parallels the facets of application testing.

See it: Tests need to be visible so that all members of the triad share the understanding of the behavior.

Feel It: Behavior for cross-functional (non-functional) aspects of microservices can be documented in tests.

Touch It: Testing for interactions of microservices can include injection or simulation of faults.

Heal It: Check that telemetry which records microservice interactions can be used to determine failure causes.

Explore It: Testing ought to go beyond just the behaviors described and include exploratory testing.

With so many aspects, testers need to work as collaborators in specification and tests, not just the test executors. The primary audience is for testers involved in microservices. However, it is also appropriate for any role which collaborates on the construction or delivery of these microservices.

Additional Resources

Add to Bookmarks Remove Bookmark
Add to Bookmarks Remove from Bookmarks
Add to Bookmarks Remove from Bookmarks

Speaker(s) may be willing to present this session at local group meetings and other events.

Agile2021
Talk
Learning

More Agile Event Session Videos

Green Tests and Red Tests
A central benefit of doing test-first development is getting a suite of behavioral tests to regress code and support refactoring efforts. But when doing test-first development in practice, many developers write too many tests and implementation-depen…
Test-Driven Development in Cobol
Mainframes, like Mark Twain, may well say, "The reports of my death are greatly exaggerated." Mainframe systems have always been around, quietly processing 80% or more of financial transactions worldwide while people's attention was focused on colorf…
Technical Agile Coaching with the Samman Method
Samman is a method for people who want to make a difference and improve the way software is built. The focus is specifically on technical practices and how people write code, and it's the best way I know to help software developers to adopt practices…
Green Tests and Red Tests
A central benefit of doing test-first development is getting a suite of behavioral tests to regress code and support refactoring efforts. But when doing test-first development in practice, many developers write too many tests and implementation-depen…
Test-Driven Development in Cobol
Mainframes, like Mark Twain, may well say, "The reports of my death are greatly exaggerated." Mainframe systems have always been around, quietly processing 80% or more of financial transactions worldwide while people's attention was focused on colorf…

Have a comment? Join the conversation

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

Not yet a member? Sign up now