by Leon Cullens
11. februari 2012 16:48
In order to be able to test your software without applying many dirty hacks, you have to embrace a couple of architectural patterns that allow you to isolate the pieces of code that you want to test. I will explain a few principles that are crucial if you want to build good, testable software. More...
a82a732e-9d67-41d3-aece-5b056dae2510|1|5.0
Tags: testing, unit testing, MVC, dependency injection, MVP, MVVM, WPF, Ninject, StructureMap, Autofac, Adapter, wrapper, repository, architecture
Testing
by Leon Cullens
6. februari 2012 23:45
In this series of blog posts I will try to give the reader a good understanding of unit testing and the most important things that are associated with it. Nowadays unit testing is a very common practice that every software developer should know about. In this series of articles you will read about the purpose of unit testing, test-first (TDD), building testable software architectures and of course the unit testing itself. My samples are written in C# 4.0 using ASP.NET MVC3, Ninject, Moq and MSTest, but I will provide links and information about other frameworks as well. The principles of unit testing are pretty much all the same on other platforms, so even if you are a Java or PHP programmer you can follow this guide. More...