Practice free →
HomeSoftware TestingSoftware Testingmicroservices_cloud_observability › In a microservices system, a 'component test' ty…

In a microservices system, a 'component test' typically tests

AOnly the network firewall rules
BA single service with stubbed dependencies
CAll services together with no stubs
DOnly the database schema migration
Answer & Solution
Correct answer: B. A single service with stubbed dependencies
Component tests (per ThoughtWorks taxonomy) drive a single deployed service in isolation with collaborators stubbed (in-memory or via service virtualisation). They sit between unit and integration tests in the microservices pyramid.
Solve this in the app — Software Testing practice & 24k+ MCQs →
Related questions