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 (169)
Author Archives: erictummers
Vacation project Apple TV
My jailbroken Apple TV plays media files from my NAS. Together with the Airplay from other apple devices this is my home entertainment system. But bigger files and higher bit rates caused problems. Multiple buffering and loading breaks during playback … Continue reading
Posted in Tooling
Tagged airport express, Airport Extreme, Apple TV, Blackmagic Disk Speed Test, Entertainment, Network, Vacation
Leave a comment
TestMatrix
I’ve been using the GhostDoc extension from SubMain for some time. It puts those triple slash (///) documentation tags above my csharp code for me. All I have to do is hit some shortcut keys. Although I never posted about … Continue reading
Posted in Tooling
Tagged Add-in, code coverage, Profiler, TestMatrix, unittest, visual studio, Visual Studio 2012
Leave a comment
System.DateTime isolation
After System.Random Isolation I now want to isolate System.DateTime. The information in the struct is not very interesting, but the Now property is. That is a static property. Does that require a different approach? Hardly. IDateTime First I’ll define the … Continue reading
Posted in Test
Tagged datetime, design pattern, isolation, Rhino mocks, static, stub, unittest, wrapper
Leave a comment
System.Random isolation
Writing a unit test is all about isolating the code under test. The best way to do this is by using interfaces. An interface only described the methods and properties, but lets you change the implementation as long as you … Continue reading
Posted in Test
Tagged design pattern, isolation, random, Rhino mocks, stub, unittest, wrapper
6 Comments
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