-
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...
-
Last night I had the opportunity to do my 'Taking your tests to the next level with Mocks' session to the TriNug user group. I would first like to say thanks to Doug Wilson and his entire group. They had a great turn out (45ish people) and they asked a ton of great questions. To kick off the...
-
I'm giving a talk on TDD at our local UG tonight, and under the influence of some recent posts here on devlicio.us, I just finished reworking my presentation. This post is an outline for the first half of my presentation. The Problems Code has entropy. That is over time it deteriorates. At least...
-
Updated 11/07/2008 I recently ran into an interesting situation. I had an ObservableCollection bound to my UI in WPF, and I needed to updated this collection on something other than the UI thread. In other words, I was adding items to a UI-bound collection on a different thread, which triggered the change...
-
One of the new features that is part of the next release of StructureMap 2.5 is a AutoMocking Container. What is an AutoMocking Container, well per Jacob over at Eleutian an AutoMocker is AutoMockingContainer is simply a IoCContainer with a custom facility and dependency resolver that supplies a Mock...
-
I somehow missed this post by Ben a few weeks back , but it is a great example of extension methods making something much clearer than it was before - by putting common Asserts into a few extension methods. Leveraging simple extension methods to make your tests more concise and readable can really help...
-
This whole " lets make TDD easier for the masses " thing is getting out of hand . Unit tests are not technically hard, as Udi points out, what is a test? Anything with TestFixture on it? It is not a technical challenge to write a unit test, any half trained monkey could do it. A few attributes...
-
It is no secret that I am not a fan of MSTest (read here for more rants on MSTests). Today's rant is about how MSTest does not allow you to have a clean build server. Yea I know what you are thinking, here comes another long winded rant on MSTest. Well this should not be too long winded, and hey...
-
One thing I like to do when I am using a IoC (Inversion of Control) container is to create simple test that ensure that my objects have been wired up correctly and can be created via the IoC container. I know this may seem like overkill, but I feel that by having my IoC bindings covered by tests I am...
-
Table of Contents Application Architecture I'm going to back up and bit discuss my overall approach to structuring this WPF project. So far the solution consists of four projects: ChumChase is the actual WPF project. FriendFeed is the official .NET api I downloaded from here , and patched so that...
-
Table of Contents So let's get back to this whole building a WPF application thing. A number of things went down since my last post: I was out sick with a stomach bug for few days, my infant son caught the same bug and subsequently we spent a few days in the hospital (he's fine now, it was nothing...