As microservices are totally distributed, the main question that comes to mind is what to test and how to test. First, let's have a quick look at the major characteristics that define microservices and need to be tested:
- Independent deployment: Whenever any
- small or a safe change has been deployed to a microservice, the microservice is ready to be deployed to production. But how do we know whether the change is safe or not? This is where automation test cases and code coverage come into the picture. There are several activities, such as code reviews, code analysis, and backward compatibility design, that can come into play, but testing is the activity that gives full confidence in adapting to change.
- Replaceable at ...