Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.

Programming and Learning from SD
In the video from Visual Studio Magazine with Miguel Castro who has some interesting things to say about Dependency Injection and Unit Testing. 
"It should be mainstream".
 "no longer do we new objects up, now = new this()". 
"this [new objects] used to be a no-brainer... until all of a sudden Unit testing hit the world by storm" "#1 reason for this is so we can test properly"
"You're writing untestable code [without DI]" "I'm a consultant, so I need to leave something maintainable and tested" ~ talking about Unit tests

I've been using Dependency Injection for the last year or so and have found it helpful to keep a separation of concerns. There is a bit of a learning curve and some more abstractions with all the interfaces, but it's invaluable when mocking out calls for writing unit tests.
Posted on Thursday, September 19, 2013 4:05 PM Unit Testing , BDD , Inversion Of Control (Ioc) , Dependency Injection | Back to top

Comments on this post: Dependency Injection Interview Video

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Aligned | Powered by: