Spring Framework (along with Spring Boot) provides a helpful testing framework for writing JUnit tests for your Spring Controllers. In my previous post, we talked about how to build and improve these tests efficiently with Parasoft Jtest's Unit Test Assistant. In this post, I'll continue by addressing one of the biggest challenges of testing any complex application: dependency management.

Let's be honest. Complex applications are not built from scratch — they use libraries, APIs, and core projects or services that are built and maintained by someone else. As Spring developers, we leverage existing functionality as much as possible so we can spend our time and effort on what we care about: the business logic of our application. We leave the details to the libraries, so our applications have lots of dependencies, shown in orange below:

*****This syndicated article brought to you by Computer Magazine from DZone.com Feed. View the rest of the article at the original publisher's site here*****

Leave a Reply

Your email address will not be published. Required fields are marked *