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 }

Movies To See: The Cove

This is one of those movies that makes you think about our disregard of all living creatures and our arrogance as rulers of Earth. This amazingly well-crafted documentary exposes the annual slaughter of thousands of dolphins in a National Park at Taiji, Wakayama, in Japan. Though killing of dolphins is not banned in Japan the [...]

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 }

Visual Studio Low Contrast Theme – Zenburn Remixed

Several months ago I started my hunt for a decent low contrast theme for Visual Studio and I came across a very extensive article on the subject by Scott Hanselman.  I tried several themes but the one that caught my attention was Oren Ellenbogen’s Dark Scheme which is based on the Zenburn theme. One thing [...]

Read full story Comments { 3 }

Replacing multiple files with Windows PowerShell

A couple of days ago I had to overwrite several files with another file and Windows PowerShell came to the rescue. At first it might seem that such task is trivial and it could easily be done in a minute using copy, paste, and Windows Explorer. That might be true if you are dealing with [...]

Read full story Comments { 0 }

Resizing Virtual Hard Disk (VHD) Files – The Easy Way

  Once in a while you have to change the size of a VHD file and I think I have found the perfect tool for the job. It is called VHD Resizer (previously known as VHD Expander) and it very easy to use. You can grab it from the vmToolKit (http://vmtoolkit.com/) website and expand or [...]

Read full story Comments { 0 }

Scheduling multiple builds with a single click (using MSBuild and Team Build 2008)

I have just posted an article about scheduling multiple builds with Team Build and MSBuild at my Telerik blog. Here is an excerpt: If you are working on a large project it is very probable that the project is composed of several parts/modules which are build separately. What are your options if you want to [...]

Read full story Comments { 0 }

Unit Testing Games (Part 1) – Vectors and Transformations

Test driven development and testing in general are mandatory techniques if you are serious about the code that you create. That is especially true in game development where almost every piece of code is very complex. In this first post about testing I will give you a little insight about testing vectors and transformations. The [...]

Read full story Comments { 1 }

Best books about game development

Since this is my first post I’ve decided to start off with a post that would help anyone that is just starting with game development and is looking for the right books that will get him going. There are primarily two problems of finding good books about game development. First there are many of them [...]

Read full story Comments { 0 }
© 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.