This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Testing and the fly likes Effective Unit Testing - Spring Dependency Injection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "Effective Unit Testing - Spring Dependency Injection" Watch "Effective Unit Testing - Spring Dependency Injection" New topic
Author

Effective Unit Testing - Spring Dependency Injection

K Conway
Greenhorn

Joined: Feb 24, 2009
Posts: 6
Hi,

Does the book give some best practices for using Spring Dependency Injection to isolate Unit tests?

Thanks,

Kent
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Sorry, no it doesn't. It does address dependency injection as a concept in Chapter 7, "Testable Design", but doesn't go into any specific technology or framework for dependency injection.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Effective Unit Testing - Spring Dependency Injection
 
Similar Threads
what is the advantage of spring over struts..
Spring supports Dependency Injection thru PicoContainer ?
how dependency injection easy unit testing
What's next after servlets?
Spring Dependency Injection in JSF Validator