From Good to Great: Becoming a Rock-Star Developer in 4 (Easy?) Steps

Saturday, May 25, 2013

Maybe you’re stuck in your career and looking for that new ‘thing’ that will jump-start it back.  Maybe you’ve encountered a technical problem that is just too big for your current state of knowledge.  Hopefully neither of these things are true, and you’re simply looking to improve your craft and competence for the sake of becoming better.  Whatever the reason, rest assured that there are things you can start doing today.  Even right now, if you’re so inclined. Over the course of my years in the industry, I’ve met a lot of great developers and technical people.  Many...
no comments

Testing a Longest-Common Prefix Implementation Using Model-Based Testing

Wednesday, May 15, 2013

In  my last post I discussed how to implement a Longest-Common Prefix (LCP) algorithm in both an imperative and functional manner in C#.  I also mentioned the fact that for the imperative implementation I needed some to write some unit tests.  Here is the test code: public class LCPTests { public void Get_WithNoValues_ShouldReturnEmptyString() { string result = LCP.Get(new string {}); Assert.AreEqual(0, result.Length); } ...

Getting Started with Getting Started: Yet Another TDD Post

Saturday, January 19, 2013

Sit back for a second and think:  what’s the scariest moment when starting a new project?  For me, it’s sitting in front of an empty code file.  I mean, I have the latest versions of Visual Studio and Windows on my machine (2012 and 8, respectively, at the time of writing), everything is humming along nicely, all this power at my fingertips – and nothing to apply it to.  I’m staring at an abyss.  It’s absolutely terrifying. I had always thought that it’s just me and my personal biases, but recently I had the chance to witness...
one comment

Retrieving Unit Test Results for Builds in TFS 2010

Saturday, June 25, 2011

Have you ever wanted to use the TFS 2010 data warehouse for retrieving the unit test pass/fail count for a specific build?  Maybe you wanted a report showing the number of unit tests that ran during each nightly build last week.  In any case, if you wanted this or something similar, you soon found out an interesting fact – picking out only unit tests from the warehouse is not trivial.  Here is the query for doing this: SELECT BuildName AS 'Build',   COALESCE(,0) AS Passed, ...
no comments