<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Emad Ibrahim - Latest Comments in Mocking and Dependency Injection in ASP.NET MVC</title><link>http://emadibrahim.disqus.com/</link><description></description><atom:link href="https://emadibrahim.disqus.com/mocking_and_dependency_injection_in_aspnet_mvc/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 13 Jan 2010 00:02:47 -0000</lastBuildDate><item><title>Re: Mocking and Dependency Injection in ASP.NET MVC</title><link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-29597362</link><description>&lt;p&gt;I don't remember but I think it had to do with wrong DLL versions.  I think.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad</dc:creator><pubDate>Wed, 13 Jan 2010 00:02:47 -0000</pubDate></item><item><title>Re: Mocking and Dependency Injection in ASP.NET MVC</title><link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-29007123</link><description>&lt;p&gt;I have seen that you had some issue with MbUnit in Visual Studio.&lt;br&gt;I am getting this message "no test were run because no tests are loaded"&lt;br&gt;Do you remember how you fixed it?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joe</dc:creator><pubDate>Fri, 08 Jan 2010 21:28:01 -0000</pubDate></item><item><title>Re: Mocking and Dependency Injection in ASP.NET MVC</title><link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-12252423</link><description>&lt;p&gt;Good question.  I actually don't test it and I have forgotten to add a few&lt;br&gt;items before but unfortunately, it is a runtime error.  What I would rather&lt;br&gt;do but I am too lazy to is have this information loaded from a configuration&lt;br&gt;file instead, so if you forget to add something, you can just edit the&lt;br&gt;config file without having to recompile/re-deploy.&lt;/p&gt;&lt;p&gt;Ninject doesn't support config files which is ironically why I like it.&lt;/p&gt;&lt;p&gt;A solution would be to create a test everytime you add an "injectable" class&lt;br&gt;to test if it is getting loaded/injected properly or not.  This should be a&lt;br&gt;simple IsNotNull test.  (I think).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad</dc:creator><pubDate>Tue, 07 Jul 2009 09:24:08 -0000</pubDate></item><item><title>Re: Mocking and Dependency Injection in ASP.NET MVC</title><link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-12246055</link><description>&lt;p&gt;One more thing I only thought about once I was implementing your technique in my project: How do you test your StandardModule.Load bindings? I'm sure I'll forget adding one of those sooner or later. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Grigore</dc:creator><pubDate>Tue, 07 Jul 2009 06:47:11 -0000</pubDate></item><item><title>Re: Mocking and Dependency Injection in ASP.NET MVC</title><link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-12195146</link><description>&lt;p&gt;Excellent post! I've been looking for a way to DRY up my own code as well and your post led me on the right way. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Grigore</dc:creator><pubDate>Mon, 06 Jul 2009 09:26:55 -0000</pubDate></item></channel></rss>