NUnitAsp Code Generation

Monday, 8 August 2005

Last Thursday I was out visiting the e-business team at Mawson Lakes campus. I was showing them how to use NUnit and NUnitAsp for automated unit testing. As I was setting up a test for NUnitAsp, I noticed how repetitive it was to:

  1. Browse the web page
  2. Find the control
  3. View the source to see the control’s id.
  4. Add a variable declaration to the test class.
  5. Add a variable assignment/initialise to the SetUp method for the variable
  6. Back to step 2

I wondered if this could be automated a bit to make it quicker to set up the test classes for NUnitAsp. Not wanting to reinvent the wheel, I joined the developer list for NUnitAsp, and asked the other subscribers if anyone had done this before. No one said they had, but a couple replied saying they’d be interested in the results. So I whipped up a first-effort that you can download here. It still needs a bit of cleaning up, and I’m thinking it might be useful to make it work as a Visual Studio AddIn too, but it does work ok.


Wednesday, 3 August 2005

While browsing this site about .NET section handlers, I noticed the nice layout for the source code samples. Clicking on the ? link took me to dp.SyntaxHighlighter: “dp.SyntaxHighlighter is a free JavaScript tool for source code syntax highlighting” I’ll have to figure out if it works with Blogger.

Stephanie wins me a T-Shirt

Monday, 25 July 2005

Browsing the Australian TechEd website the other day, I came across a new competition - Win a Tech.Ed t-shirt! I’ve been a bit disappointed that the last few conferences haven’t had TechEd T-Shirts, as if you’ve ever seen my t-shirt drawer you’d notice that I’m pretty much clothed by freebies that I’ve collected and won from various events. I also noticed that Roger had already beaten me to it! So after a bit of creative Photoshop work, using a photo of my lovely daughter Stephanie, I came up with this entry: Flair with Stephanie

Windows Vista

Monday, 25 July 2005

So, Longhorn (the next major version of Windows) is going to be known as “Windows Vista” …which makes me think of the following things:

RFC 1149 (rfc1149) - Standard for the transmission of IP datagrams on avia

Tuesday, 19 July 2005

RFC 1149 (rfc1149) - Standard for the transmission of IP datagrams on avia: “RFC 1149” Just came across this one :-)