-
I am 99% sure I have had a post like this in the past, but my google-foo was weak today and I could not find it. Do not let anyone blow smoke up your back side, testing is expensive, testing takes time but most importantly testing can help improve the quality of your code. If you are going to spend...
-
Joel , in his inimitable way, posted the flame bait of all flame bait posts yesterday , explaining the role of the Duct Tape Programmer. To my surprise, the Twitterverse started to reverberate with commentary, but weirdly, almost all of it was very negative about the post, many claiming that Joel was...
-
I'm currently looking at a code base that could do with some refactoring, overall it's a pretty good code base, and the test coverage is pretty good too. But looking through it gave me some ideas on what makes a code base tricky to safely refactor. Here are some tips to make sure your code is...
-
If you find yourself using reflection in your unit test to push 'stub’ data into it your test just may smell. Now there are times (especially when dealing with legacy code) that you need use reflection to crack open a class to push/pull values but I would strongly suggest you consider the solutions...
-
I am a little bored so I thought I would write a nice fluent interface around the Performance Counter crap that is part of .net. I know, I know the world does not really need another Fluent Interface around something, but I am bored and this is keeping be busy while waiting for my flight. Anyway...
-
Here is the second part of the meeting
-
On Wednesday, Uncle Bob Martin came out to the Chicago ALT.NET meeting to demo FitNesse. Here is Part 1 of the meeting
-
I was inspired to get off my duff and blog today by a tweet from Scott Hanselman . I didn’t really dig into the context of his tweet, but it was about TDD and WPF. In case you haven’t figured it out, I’m a big fan of WPF and TDD. Luckily, I’ve had the opportunity to work on a number of varied WPF projects...
-
There’s a lot of recent buzz about the Model-View-ViewModel or MVVM. (I pronounce it like it rhymes with Auntie Em .) Rather timely for me as a lot of my thinking about implementing UI patterns in WPF has begun to coalesce. There’s has been a lot of thought given to UI patterns prior to the advent of...
-
ChumChase Table of Contents I opened up the ChumChase code this evening with the sad realization that my last commits were on November 14th. Ouch. In reading over the code, something jumped out at me immediately. In the code-behind for Shell.xaml, I had a lot of logic that didn't need to be there...
-
The new year has already gotten away from me and it's only 7 days old. ( Come back, Baby Happy! ) In less than 2 weeks from now, we're going to a have full day of TDD in Tampa, FL. The event is designed so that everyone will find value, whether you are merely curious about methodology or a veteran...
-
Part of my job at work is to teach and mentor other developers on our team. Right now I am in the process of teaching two of our developers how to create unit tests (notice I did NOT say integration tests because most anyone can do those). We are also learning how to create our tests by utilizing an...
-
You may have missed the release of Oxite recently, and some of the hype and comments around it. Having now seen some absolutely ludicrous comments on the web chiming in about how good it is, I feel compelled to write my own short appraisal. Lets start with some of the hype by the Oxite team about their...
-
In my last post ( here ) I was giving a wrap up of the Mocking session I recently did at TriNug . In that post I gave some of the reasons (sorry, I meant excuses) people gave for not doing any type of automated testing during their dally development ritual (notice I am staying away from TDD at this point...
-
In WPF work, it is very common to work with implementations of INotifyPropertyChanged . We need support for change notification in order to bind to the UI, and this interface is frequently the best approach. This means I have lots of properties that look like this: public string FirstName { get { return...