Tag Archives: Unittest
Unittest fail or work on different machines VS2010

Ever had the problem that some unittest fails on your machine and work on a other developers machines? Just stop searching. In VS2010 Click with the right mouse button on your solution and choose Batch Build:           Clean the build and rebuild. Rerun your unittests. Thats it, Martijn

Expressions in the Mock results

A very powerful way is using expressions in the result of a Mock. Of course as an alternative you can use a callback which gives a numerable result but just using the expression by passing it as a predicate is great. For example, a Where statement in your code. And you want the result to […]

Back To Top