by Leon Cullens
22. februari 2012 19:34
Now that you probably have a good grasp on the basics of unit testing, you probably want to see some examples that put all of this knowledge together. This chapter will do just that; I built a little simple ASP.NET MVC 3 application that allows us to withdraw money from an account, deposit money on an account and transfer money to another account. I kept everything very simple, ignoring lots of best-practices to keep the unit testing as easy as possible. More...
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...