Testování mikroslužeb a distribuovaných systémů je složitější než testování monolitů — služby si vyměňují data přes sítě, mají nezávislé nasazení a distribuované poruchové režimy. Vyžaduje to strategie jako contract testing, testování na úrovni služby a pečlivé přístupy k integraci/E2E.
Problémy
Distributed systems are harder to test than monoliths:
→ many SERVICES interacting over the NETWORK (latency, failures, partial outages)
→ services deployed INDEPENDENTLY → integration/compatibility concerns
→ E2E testing across many services is SLOW, BRITTLE, and complex to set up
→ distributed failure modes (a service down, slow, returning errors)
