About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (21)
- Development (217)
- Security (19)
- Test (32)
- Tooling (175)
- Uncategorized (168)
Most used tags
Tag Archives: unittest
Automation and Extensibility issue
Today I wrote a wrapper to be in control when unit testing some code that uses System.Random. After completing the task, which is mindless automation, I decided to create a T4 template for it. After completing the few lines in … Continue reading
Behavior Driven Development with SpecFlow
Wouldn’t it be great if analysts, testers and developers spoke the same language? When I develop something great the tester says it is wrong and the analyst says it is not what he meant. With SpecFlow the analyst can write … Continue reading
ExcludeFromCodeCoverage and Linq
Visual Studio has an attribute called ExcludeFromCodeCoverage to exclude a method from code coverage. But when you use Linq the predicate is included. See sample screenshot below where the code is called with an empty list in the repository. Looking … Continue reading
NDepend – first look
Earlier this year Patrick Smacchia from NDepend contacted me on linked-in. He would offer me a professional license to blog about his product. Now I finally have the time to keep my end of the bargain. Since the features are … Continue reading
Posted in Tooling
Tagged attributes, code coverage, dependency graph, dependency matrix, express, ndepend, unittest, Visual Studio 2012
Leave a comment
Test async webservice call with a Task
We have a number of services in our project. Our clients include WPF, iOS, Android and Web. To have the best interoperability we communicate over http and expose WSDL for proxy generation. This means we cannot change the contracts or … Continue reading