About the author

Steven HarmanSteven Harman is a passionate developer who believes that writing great software isn't just a job, its a craft.

ASP.NET MVP

For recent posts and more about me, scroll to the bottom.

Subscribe

  • Subscribe to my feed. via RSS
  • Subscribe via email via email

News

devLINK Technical Conference

Jobs

Badges

  • Subtext Project
  • Support Subtext
  • HiddenNetwork.com Banner

BDD

There are 5 entries for the tag BDD

Rhino.Mocks Beta Bits are Running Turbo-Charged!

A few weeks ago Oren (known to many as Ayende Rahien) pushed out a Rhino.Mocks beta drop so we could take a look at the new Arrange/Act/Assert syntax being cooked up for the pending 3.5 release. Yesterday I finally upgraded my client project to the 3.5 beta bits and started digging into the new syntax. AAA, FTW! After using Arrange/Act/Assert for just a day or two I’m already hooked. It feels like a much more natural fit for bdd-style tests. The whole Given, Expect, When, Then, go-back-and-verify-expectations flow always felt clumsy and counterintuitive, and AAA allows for...

Save Your Fingers, Use a BDD AutoHotKey Script!

Tired of typing all those underscores_while_writing_your_BDD_specifications? Yeah, I wasn’t really either. However I’ve heard read complaints from some folks that typing the underscore so many times was getting annoying, so they had opted for PascalCasing instead. Just deal with it Maybe its because of my exposure to Ruby and the joy that is RSpec, but I don’t think such minor annoyance is enough of a reason to top using a more readable style. Repetitive Stress Injury, be damned! Or maybe not! The other day while cleaning out my RSS reader I came across AutoHotKey (thanks JP), a...

Meme: How Does an Open Source Guy Pack?

The crazy-hott company I work for is getting ready to move into new, swanky, techno-stuffed digs. Yesterday was packing day for the delivery center - where my group of super-consultants live - and in honor of the event my grand-boss, Brian Prince, started a little meme: How does an XXX guy pack? Brian tagged several of his minions with variations of the meme and surprise, surprise... I'm Open Source Guy. In OSS, this is how we roll... Similar to how a tools nerd packs, an Open Source guy would first take a look at the lay of...

Expectation Based Testing with Mocks

Last week I talked about Rubifying your C# code by adding the .Each() extension method to the IEnumerable<T> interface. I was discussing that code with one of the guys at work and he asked a brilliant question So, how did you test that? I was floored. Being such a test-first fan boy I couldn’t believe that I had failed to write that little extension method in a TDD manner. Hell, I hadn’t even done TAD! So how do I test it? There are no doubt a plethora of ways to test this...

How Not to Design for Usability

This is not a fake. I actually saw this very sign on an ATM here in town... and naturally had snap a picture for my own enjoyment. Oh, and this is no small mom and pop regional bank. We’re talking one of the largest banks in the world (in terms of sheer assets)... and a former employer of mine. I need to visit a few other locations to determine if this is an isolated case of overzealous design, or if it is standard practice. My gut feeling is the latter - most likely as required by...