Thursday, May 25, 2017

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.




Ok thats it for now. In the next post I will show how to unit test the business / service layer of the lead microservice.

No comments:

Post a Comment