The Artima Developer Community
Sponsored Link

Java Buzz Forum
Android Functional Testing vs Dependency Injection

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jason Sankey

Posts: 406
Nickname: jsankey
Registered: Apr, 2006

Jason Sankey is a founding developer of zutubi.
Android Functional Testing vs Dependency Injection Posted: Jun 29, 2010 2:34 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Jason Sankey.
Original Post: Android Functional Testing vs Dependency Injection
Feed Title: a little madness
Feed URL: http://www.alittlemadness.com/feed/
Feed Description: A man needs a little madness, or else he never dares cut the rope and be free. -Nikos Kazantzakis
Latest Java Buzz Posts
Latest Java Buzz Posts by Jason Sankey
Latest Posts From a little madness

Advertisement
I commonly use Dependency Injection (DI) to create testable Java code. Dependency injection is simple: instead of having your objects find their own dependencies, you pass them in via the constructor or a setter. One key advantage of this is the ability to easily substitute in stub or mock dependencies during testing. Naturally, as [...]

Read: Android Functional Testing vs Dependency Injection

Topic: S&P says stock buybacks rose 80 percent in the 1st quarter, but still short of historic highs Previous Topic   Next Topic Topic: Obama jokes that Twitter may eliminate need for red phones between White House and Kremlin

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use