Skip to main content

Posts

Showing posts with the label Unit Test

Complete Unit tests - Microservices - Repository Layer

In the previous post, I introduced the unit tests for the repository layer of the lead microservice. In this short post, I will do some cleanup, add all the unit tests. Finally, I replaced all the JUNIT asserts with AssertJ asserts. AssserJ is also recommended by the Spring champions over at Pivotal. AssertJ  - provides fluent assertions for Java.  Testing improvements in Spring Boot .  Ok thats it for now. In the next post I will show how to unit test the business / service layer of the lead microservice.