https://1kevinson.com/testing-service-spring-boot/ #12
Replies: 2 comments 2 replies
-
Thanks a lot, very nice article. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is there way to cover service with tests using h2 database? I want to use saving users in h2. And what should I do if my save user's service method returns void. I saw that I have to use doNothing(). Main database is postgreSQL and in my pom.xml there are 2 dependencies: for H2 and for postgreSQL |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://1kevinson.com/testing-service-spring-boot/
In this article, we will see, how to implement and test the service layer of the repository pattern with a Spring boot application.
https://1kevinson.com/testing-service-spring-boot/
Beta Was this translation helpful? Give feedback.
All reactions