concept real http server in category docker
appears as: real HTTP server

This is an excerpt from Manning's book Bootstrapping Microservices with Docker, Kubernetes and Terraform.
Unit testing for microservices works the same as any other kind of unit testing. We are aiming to test a single unit of code by itself and in isolation from other code. What is a unit? Typically each test exercises a single function or one aspect of a single function.