This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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]
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: Effective Unit Testing - Spring Dependency Injection