CHAPTER 7
Testing Your Spring Application
In this chapter, you are going to start using the Spring Framework Features. So far in previous chapters, you have been using the JUnit test framework, which is fine if you want to do simple testing. Previously, every time you needed to declare the application context’s implementation like the ClassPathXmlApplicationContext class. You did this by calling context = new ClassPathXmlApplicationContext("META-INF/spring/mydocuments-context.xml") to load your XML configuration file in order to use the Spring container.
The Spring Framework Test library provides some features like unit testing by using JUnit ...
Get Introducing Spring Framework: A Primer now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.