Testing is one of the most important elements of modern software development, and you should take care of it right at the beginning when you start to design your microservice. In this section, we will try to guide you with some suggestions on how to effectively test your microservice, however, really understanding testing requires a deeper look that you should cover eventually.
Testing effectively
Understanding type of tests
There are several kinds of tests that you can carry out on microservices, but here are some of the most common ones that you should understand:
- Unit tests
- Integration tests
- E2E tests
This is important to us because we should name our test according to what they are, either by naming the test class with...