Geeks With Blogs

News Locations of visitors to this page
Brian Genisio's House of Bilz October 2008 Entries
Focusing on Functional
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. But then I sat in on an "Open Space" session where Scott Guthrie was talking. Most of it strayed from the standard "Open Space" format and ......

Posted On Thursday, October 30, 2008 3:19 AM

The Excitement that is C# 4.0
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). In C# 4.0, we will be seeing some significant dynamic features. In reality, the thing that has kept me away from using languages such as IronPython and IronRuby is their interoperability ......

Posted On Monday, October 27, 2008 7:20 PM

PDC -- Microsoft Azure
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. One of the most interesting parts of this talk for me was the actual coding demo. They have included an embedded Azure simulator ......

Posted On Monday, October 27, 2008 3:50 PM

My Year With TDD
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. Sure, I wrote my tests before my code, but the philosophy behind it wasn't enough to be effective. It wasn't until I went to Boston for a 3-day seminar on TDD taught by ......

Posted On Thursday, October 23, 2008 8:38 PM

GUI Testing Resources
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. Please feel free to read what I have to say!Presentation SlidesDemo Code ......

Posted On Saturday, October 18, 2008 2:02 PM

Build Your Own Spy Utility
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. Start with this form, and add any spy functionality that you need to it. Here is the code: 1: using System.Drawing; 2: using System.Windows.Forms; 3: 4: namespace RecipeBox.Tests.GUI_Tests ......

Posted On Tuesday, October 14, 2008 8:25 PM

Getting Your NUnit Tests to Run as STA
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. Resharper also uses the NUnit test runner, so it also runs in MTA by default. To tell NUnit to run in the STA (and therefore, Resharper), you need to add some data to ......

Posted On Tuesday, October 14, 2008 7:30 PM

Winforms Automation Extensions
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. It turns out that you don't need much (besides some creativity) to automate WinForms UIs. This set of extension methods will help you get started. ......

Posted On Sunday, October 12, 2008 9:22 PM

I'm speechless...
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 ......

Posted On Monday, October 6, 2008 8:50 PM

UI Automation Not Fit for Command!
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 FormsRanorexMicrosoft UI AutomationI am finding that the "Roll Your Own" method is the most versatile method. I will write about this method later. Today, I feel like a more negative tone. I will say it now:Microsoft's UI Automation Framework is NOT fit for command.Don't get me wrong... there are a lot of easy-to-use systems in .NET. BUT, I find ......

Posted On Saturday, October 4, 2008 8:45 PM

Copyright © Brian Genisio's House Of Bilz | Powered by: GeeksWithBlogs.net