Permutations and missing values, helpful with unit testing

by Alex Siepman 13. January 2014 15:41
Creating of unit tests of al varations of 1 bool parameter usualy need 2 unit tests (false and true). But how do you create a parameter of type IEumerable. So many combinations are possible. A variant of the Permutations() method will help you to create almost all necessary combinations with just one extension method! [More]

A SOLID validation class

by Alex Siepman 5. January 2014 09:33
When business objects needs to be stored in the database, they need to be validated. Creating a validation class make it easy to maintain en unit test the validations. Also implications are made easier. [More]

Tags:

Generics | LINQ | SOLID

About the author

I am a software architect at Roxit and also a C# Developer. My main interests in the area of ​​C# are LINQ and generics

Visit my personal homepage (Dutch) for more info about me.

Month List

Page List