-
Ok, silverlight and unit testing just plan sucks, I firmly believe that the devs for silverlight did NOT care about testability, but that is off topic. When doing any type of unit testing (and not with the built in silverlight testing framework which actually runs the app, talking code level testing...
-
First a confession, and I know I’ll invoke shame for this one: I have done Very Little Testing with Silverlight. I won’t bore you with reasons or excuses, but I wasn’t up on the state of unit testing in Silverlight until very recently. (In fact, I might still be missing some chunks.) The Problem...
-
Today I was trying to wrap some code in some tests (I got lazy and did not create the tests first… shot me). What I was trying to ensure was that my event handlers I passed into a method were actually being wired up for usage. Now I searched around the net for a while to see if there was...
-
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...