Tag Archives | Testing

Visual Studio Code Snippets for TestClass and TestMethod

Tired of writing [TestMethod] and [TestClass] when creating tests? Well, I got tired and wrote two very simple Visual Studio snippets that can create test classes and test methods. Just copy the two .snippet files into C:\<Program Files Folder>\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Visual C# , restart Visual Studio and you are good to go. Enjoy. Download [...]

Read full story Comments { 0 }

Mocking The File System to Improve Testability

Recently I started writing a simple application that would help me organize my music files by automatically renaming them using their tags and moving them to their designated folders. As expected the program will rely on the file system classes that the .Net Framework provides. Naturally, I wanted to cover the I/O logic with tests [...]

Read full story Comments { 0 }

Books I Recommend – I. M. Wright’s Hard Code by Eric Brechner

  I have been yearning to write about this book for a long time since it  had become an all-time favorite. You have got to love this book for its incredible depth, witty jokes, great style, and funky structure. Definitely a must-read for every developer. Don’t get fooled by the name though – the author [...]

Read full story Comments { 1 }
© Copyright 2011, Milan Nankov

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.