News for hackers. Stuff that matters.
Re:Ask HN: How do you test your microservices? by BlueTie on Saturday January 21, 2023 @12:15PM (#34467948)
Locally: Contract test (mock provider/consumer)

As part of CI/CD: Depending on complexity - basic functional tests against the specific endpoint or end-to-end test of API functions (using mocks when APIs aren't available).

Once deployed to pre-prod: Monitor just like prod - end-to-end functional tests w/routing rules to mocks when a certain microservices is unavailable.

Prod: Monitor using end-to-end functional tests.

There are no comments on this comment yet.