The definition of the components which should be managed by Koin needs to be configured manually. Koin provides an interface that can be used in order to inject dependencies in test class. The implementation of the application service layer I will omitt in this article because it works the same way as in SpringBoot and therefore is not interesting. The missing part to fulfill the requirements is the addition of a handler.

5m read timeFrom betterprogramming.pub
Post cover image
Table of contents
First Impressions When Switching From Spring Boot to KtorConclusion

Sort: