This is an old revision of the document!
Table of Contents
Testing Services
Motivation
Micro Services need "Loosely Coupled Organizations"
Micro services work best with an organizational shift towards “Loosely Coupled Organizations” .
Throughout the book, I’ve made the case for a loosely coupled architecture and argued that alignment with more autonomous, loosely coupled, stream-aligned teams is likely going to deliver the best outcomes. A shift to a microservice architecture without a shift in organizational structure will blunt the usefulness of microservices—you may end up paying the (considerable) cost for the architectural change, without getting the return on your investment. I’ve written generally about the need to reduce coordination between teams to help speed up delivery, which in turn enables teams to make more decisions for themselves.
Building Microservices, 2nd Edition by Sam Newman
https://www.oreilly.com/library/view/building-microservices-2nd/9781492034018/ch15.html
Low Autonomy Precludes Continuous Business Value
Designing Autonomous Teams and Services by Nick Tune, Scott Millett https://www.oreilly.com/library/view/designing-autonomous-teams/9781491994320/ch01.html
Loosely Coupled Organizations are ...
What make a team: “Loosely Coupled” ?
Characteristics of autonomous, loosley coupled teams, to achieve the best performance:
- Make large scaled changes, to the design of their systems, without the permission of anybody outside the team
- Complete their work, without communicating and coordinating with people outside their team
- Deploy and release their service on demand, regardless other services it depends upon
- Do most of their testing on demand, without requiring an integrated test-environment
- Perform deployments in normal business hours with negligiable hours.
Sam Newman about “Accelerate: The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations, 2018 ” by Nicole Forsgren, Jez Humble, Gene Kim
https://kevinvecmanis.io/books/management/2020/11/20/Accelerate-Book-Review.html
Goal formulation
Achieve independent testing on-demand for teams, without any compromises on the software-quality.
Tactics, Approach
Most of the microservice-projects replace end-to-end tests.
TODO: confirm statement, find citation.