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.
- 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.
Comments
Post a Comment