-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Hands-On Microservices with Kotlin
By :

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.
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:
This is important to us because we should name our test according to what they are, either by naming the test class with the name of the type of test or classifying the package that refers to that type of test.
For example, if we have one Integration test for our controller that is named CustomerControllerTest
, we could name it CustomerControlIntegrationTest
, CustomerControllerIT
, or leave it in...