Home » 2015 » April

Run NUnit from Visual Studio

For the purposes of this post, I’m going to assume that you already have the NUnit Test Runner installed.  The question you are looking to get answered is, “How do I run NUnit from Visual Studio” or even more importantly, “How do I DEBUG NUnit test from Visual Studio”.  The following step by step should help you.

Right click on the project in Solution Explorer that represents your test project. From the resulting menu, select “Properties.” In the resulting window, selec the “Debug” tab from the left-hand side of the window. Continue reading “Run NUnit from Visual Studio”

TDD Gamification – Turning Test Driven Development into a Game

ge-gam-018When I was in college, there were some guys I hung out with who played this game called “Questions” which they got from some book.  Actually, it was a play.

Anyhow, the basic rules are:

  • You can’t answer a question with a statement
  • You can’t hesitate or make a false start
  • You can’t repeat a question that has already been used
  • You can’t ask a rhetorical question
  • You can’t ask an unrelated question.

There was also this podcast at DotNetRocks where they were talking about a beer app and how they had added game elements to the app by adding badges for various types of beer to get you out of your comfort zone.  Maybe there is one for “My first beer that I liked” because I’ve yet to find something I like.  But give me a good Merlot!

All of this got me to thinking about how we might turn Test Driven Development into something of a game.

Continue reading “TDD Gamification – Turning Test Driven Development into a Game”

How to Become a Better Programmer


As you advance in your career, you will inevitably want to improve as a programmer.  And as you search the Internet and read various web post on the subject you will also inevitably end up with a bunch of task you should perform that will make you better.

For example, if you’ve been following this blog lately, you’ll notice that I’m a big proponent of Test Driven Development.  You would naturally expect me to state that to be a better programmer, you should practice Test Driven Development.

There has also been a lot of emphasis recently on good basic programming principles like DRY and SOLID.

The list could go on.  Here are a few you may be interested in experimenting with:

  • Code Reviews
  • Paired Programming
  • Learn and Implement Design Patterns
  • Reduce Method/Class Complexity
  • Practice Code Katas
  • Participate in the Community
    • Start a Blog
    • Participate on StackOverflow
    • Read and  Comment on other people’s Blogs

And while all of these and more are good ideas, none of these ideas will actually MAKE you a better programmer.  Why?  Because becoming a better programmer is mostly about becoming a better person.

Continue reading “How to Become a Better Programmer”

Limiting Beliefs of Programmers

screamAt the risk of making half of my audience think I’ve gone off the deep end, I’m going to address a topic that I’ve only recently REALLY begun to understand, in part thanks to Soft Skills.

When I’ve heard the topic of “Limiting Beliefs” come up, it has almost always been in the context of something along the lines of “What the mind can conceive and believe, it can achieve.”  Which is easy to disprove.  At least it is out of context!  I mean really, if I can conceive and believe myself to be a butterfly, it just isn’t going to happen!

However, the opposite is pretty easy to both accept and believe.  And that’s what I want to talk about today.  But even then, it probably isn’t what you are expecting.

Typically, when people talk about Limiting Beliefs, they are talking about patterns and practices you picked up as a kid that are holding you back now.  And while those may be areas that you need to work on, what I want to talk about today is more micro than that, although they may have roots in our past for various reasons, the Limiting Beliefs I want to talk about today are common across nearly every programmer I talk to.

Continue reading “Limiting Beliefs of Programmers”

Node.js Tools For Visual Studio

NodeJsInVisualStudioProjectListSeveral weeks ago now, I started learning Node.js.  Why?  Well, for a couple of reasons.  First, all the cool kids are using Node.js.  Second, I wanted to use Istanbul to get an idea of how well my javascript code is covered by test and that runs under Node.js.  Third, Node.js is going to show up in the next version of Visual Studio.  And finally, I just like to learn new stuff.


So, I started by installing node and just working in Visual Studio as though my node project was a web site.  It works, but it isn’t pretty.  But it did get me familiar with some basic concepts like using the node package manager (npm) to install what I needed to get Istanbul running.  For those of you who aren’t familiar with npm, it is basically NuGet for node.js.

Continue reading “Node.js Tools For Visual Studio”