Focusing on Functional

October 30th, 2008

I have been toying with functional programming a bit lately. I have been using lambdas and Linq when it has made sense in my code. I downloaded the F# compiler tools and mucked around with it a tiny bit. I read a few blogs that talk about functional programming concepts, etc. I have enjoyed reading the elegance of the paradigm, but never really got into it much Read More...

The Excitement that is C# 4.0

October 28th, 2008

I just got back from the "Future of C#" talk at PDC by Anders Hejlsberg. This was a truly inspiring talk for a geek like me. C# is evolving into a much more dynamic language. I have always been a believer of strong typing... except when I'm not... and I have been wishing for something more dynamic (such as Duck Typing) Read More...

PDC — Microsoft Azure

October 27th, 2008

PDC has commenced. Herds of people flocked to the keynote where the topic was infrastructure. It may not be the most sexy of topics, but it is certainly the way that Microsoft is moving with their business plan. Specifically, they talked about their new cloud OS dubbed “Microsoft Azure”. Azure is going to be a scalable infrastructure for hosting cloud applications Read More...

My Year With TDD

October 23rd, 2008

It's been over a year now since I have been developing using TDD (Test Driven Development) as my primary development practice. I wanted to reflect on what it has done for me professionally. In reality, the past year has been great for my professional career in many ways. I started out in August of 2007 with what I THOUGHT was TDD Read More...

GUI Testing Resources

October 18th, 2008

So, I just gave my GUI Testing in .NET talk for the first time. I think it went pretty well. If you have any feedback, please feel free to comment or email me. I'd love to hear how to make the talk better. I am providing the demo code and the talk slides. I have a few more posts on GUI Testing .NET apps that I wrote over the past few weeks Read More...

Build Your Own Spy Utility

October 14th, 2008

In support of my talk on Saturday, I wanted to publish another little bit of code that I have found extremely useful. There are a lot of spy utilities out there: Spy++, ManagedSpy, UISpy, etc. They all work OK, but I have found on many occasions that I wanted my spy utility to do X, Y or Z. So, I built my own spy utility Read More...

Getting Your NUnit Tests to Run as STA

October 14th, 2008

As a follow-up to my recent post on my Winforms Automation Extensisons post, I realized that I forgot to mention a very important detail. In many cases, WinForms require to be executed in a Single Threaded Apartment (STA). I write all of my tests in the TestDriven.NET test runner, which runs in the STA by default, but NUnit does not Read More...

Winforms Automation Extensions

October 12th, 2008

In preparation for my talk next Saturday, I am publishing the code that I use to help drive my WinForms application via NUnit tests. The idea is simple -- instantiate the form and use extension methods on the controls to find the controls and drive from there. This is a preliminary release. I will update this file as I find more functionality s needed Read More...

I’m speechless…

October 6th, 2008

Are you going to PDC in a few weeks? Looking forward to the free hard drive with "all the bits?" Then THIS is for you...

UI Automation Not Fit for Command!

October 4th, 2008

I have been spending a lot of time exploring automation testing frameworks that can be driven using NUnit. I am exploring the following: Roll Your Own NUnit Forms Ranorex Microsoft UI Automation I am finding that the "Roll Your Own" method is the most versatile method Read More...