Category Archives: Uncategorized

WebSocket Webinar Demo Code

Thanks to those who attended today’s webinar. The demo code is located here until it (and the recording) get uploaded to the DM website later this week. Feel free to email with questions!

jQuery Webinar

I’ll be doing a webinar for DevelopMentor tomorrow at 11 AM Pacific. The title is “Spice Up Your Web Applications with a Dash of jQuery!”. I’ll be enhancing a simple MVC application so that it “feels” a bit slicker for your users. If you know JavaScript and jQuery, it’s basic stuff, but the goal is [...]

An Even More Useful Fiddler Bookmarklet

It’s actually the same bookmarklet as the one I wrote about before, but this time it’s in the form of a link that makes it easier to add to your browser: fiddler-ify

jQuery Deferreds

I’m absolutely loving the new Deferred objects in jQuery 1.5 and am using them heavily in a new project at work. I just spent a bit of time trying to figure out why they weren’t working the way I was expecting them to, actually having to step into the jQuery code to realize my mistake. [...]

Asserting without Equals

Arnis suggested that implementing Equals just for NUnit was wrong so I thought I’d try doing without it. The CollectionAssert.AreEqual method accepts an optional IComparer implementation. If specified, that will be used instead of Equals. So I put together a class called PartComparer. Since I switched to comparing the state of the objects outside their [...]

I fail at TDD?

I actually think I’m pretty good at TDD. Every now and then I get reminded that I’m not as good as I think I am. I’ve been working on a new project (an implementation of the Mustache template language in C# that I’m calling Nustache) and have been having a lot of fun with it. [...]

Why won’t my iterator throw?

I ran into a spot of confusion last night doing some TDD on a method that returns an IEnumerable<T>. I was using multiple yield return statements in it which made the method an iterator and not just a normal method. Even though I know how iterators work, I don’t use them enough to remember their [...]

New BehaveN Release

This is a minor, bug fix release. You can see the changes here. I’ve also updated the wiki with some more documentation.

BehaveN

I’ve been using a Cucumber-inspired BDD framework for .NET called BehaveN at work for the past year. Today, I just released the next major version. There’s a little documentation on the wiki, including a tutorial, but there’s a lot left that I haven’t documented yet. I’ll be getting more and more documentation up as time [...]

Autotest for Python

I recently went looking for an autotest equivalent for Python. This question on StackOverflow pointed me to autonose. It wasn’t that easy to install using easy_install since one of its dependencies (snakefood) failed to install so I had to do that manually. Unfortunately, autonose has a few issues, especially when running on Windows. Since it [...]