File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Effective Unit Testing - Spring Dependency Injection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
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]
 
Consider Paul's rocket mass heater.
 
subject: Effective Unit Testing - Spring Dependency Injection
 
Similar Threads
what is the advantage of spring over struts..
Spring Dependency Injection in JSF Validator
Spring supports Dependency Injection thru PicoContainer ?
how dependency injection easy unit testing
What's next after servlets?