• Curriculum Vitae (pl)

Just A Programmer

~ Don Quixote fighting entropy

Tag Archives: IoC

Exploratory Unit Tests for Ninject

22 Tuesday Jul 2014

Posted by orientman in Posts In English (Wpisy po angielsku)

≈ Leave a comment

Tags

.NET, Books, DependencyInjection, IoC, Ninject, TDD

I read an excellent book recently, Dependency Injection in .NET by Mark Seeman. Oh boy, I should have read it 2 years ago before I started playing seriously with DI. Dependency Injection looks like an easy concept to grok and what could possibly go wrong? Go figure! Or better read this book. Don’t be misled by title, it’s not only about DI and .NET. Author gives a rather great overview of modern object programming with examples that happen to be in C# but could be in Java or something else.

My DI container of choice is Ninject but unfortunately author doesn’t cover it. I decided to fill this gap and created exploratory unit tests based on code examples from the book:

https://github.com/orient-man/NinjectExploratoryTests

Advertisements


Father of 2, husband, bookworm, stubborn, programmer, conference addict. Don Quixote fighting entropy. Delights in contradictions & humor. Believes in chance. Beer philosopher. Occasionally goalkeeper.

Tags

.NET 2013 ASP.NET MVC AspNetCore Async Biometry Books Boost Test Library C# C++ Career CI Code coverage Coding style Conferences constraint definitions Decoupling DependencyInjection DurableTask dynamic DynamicProxy F# FAKE Functional Programming git GitHub git scm svn IE IEnumerable integration-testing IoC JavaScript jQuery Microsoft Word MiniProfiler Monads Mono MVC Ninject NuGet Paket Presentations QUnit Quotes RAII Refactoring Reporting Resharper SQLite SSD SSL Certs TDD Tools TPL Validation VisualStudio WebForms XSLT

Categories

  • Posts In English (Wpisy po angielsku)
  • Wpisy po polsku (Posts In Polish)

Recent Posts

  • There is no such thing as a free Free monad
  • How _not_ to upgrade to ASP.NET Core 2.0 just yet (with Paket)
  • Checking for outdated package references during build (with FAKE & Paket)
  • HOWTO: Publish Your reveal.js Presentations on GitHub Pages
  • Connect the Dots aka ASCIImage in F#

Follow me on Twitter

My Tweets

Currently Reading

Blogs I Follow

  • Michał Łusiak
  • You’ve Been Haacked
  • Steve Sanderson's blog
  • The Tao of Mac
  • Michael O. Church
  • Scott Hanselman's Blog
  • Krzysztof Koźmic on software
  • Joel on Software
  • Greg Young's Blog
  • Gojko's blog
  • Coding Horror
  • addyosmani.com/blog/

Archives

  • August 2017
  • July 2017
  • June 2015
  • March 2015
  • July 2014
  • April 2014
  • February 2014
  • January 2014
  • December 2013
  • September 2013
  • June 2013
  • April 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • February 2012
  • October 2011
  • April 2011
  • February 2011

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.com
Advertisements

Create a free website or blog at WordPress.com.

Michał Łusiak

You’ve Been Haacked

Don Quixote fighting entropy

Steve Sanderson's blog

As seen on YouTube™

The Tao of Mac

Don Quixote fighting entropy

Michael O. Church

Rants, essays, and diatribes.

Scott Hanselman's Blog

Don Quixote fighting entropy

Krzysztof Koźmic on software

Don Quixote fighting entropy

Joel on Software

Greg Young's Blog

Good Enough Software is By Definition Good Enough

Gojko's blog

Don Quixote fighting entropy

Coding Horror

Don Quixote fighting entropy

addyosmani.com/blog/