wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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]
 
It is sorta covered in the JavaRanch Style Guide.
 
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?