Posts Tagged ‘ATDD’

Exploring to Get Specifications & Story Tests

Monday, January 24th, 2011

Today was day 2 of a new sprint. We’re working on a big, complex theme. Up to now, our system allowed only one employer or “plan sponsor” account for every 401(k) retirement plan. Many companies want several plan sponsor accounts: one for their accountant who submits the payroll contributions, one for the human resources manager who enrolls employees, one for the company lawyer who reviews the legal documents, and so on. With this theme, we’re making it possible for each plan to have multiple sponsor accounts.

We created a mind map during our theme planning and it shows that this change affects many parts of our system. We identified several user stories, but felt there were still some loose ends we hadn’t yet identified. We wrote a story called “Close the gap” and wrote one big development task card with 32 hours on it. We wrote lots of testing cards, to identify the “gaps” and do lots of regression and exploratory testing.

Friday and today, I explored the system looking for those gaps. Last sprint, I had already discovered several reports that didn’t work for the additional sponsor accounts, so I went looking for more reports. I logged on as all the different user types in our system: customer support reps, plan administrators, third-party administrators, plan advisors, as well as plan sponsors and employees (participants). I found more problematic reports and UI pages, and some searches that didn’t work.

Here’s an example of what I learned. We have an “account details” page that is used by three different roles that shows information about a given 401(k) plan. It links to an “account summary” report that lists all the information about the plan. Both the details page and the summary report list the plan sponsor for that plan. Now that a plan could have more than one plan sponsor, what should show in these locations?

I went and talked to the VPs over four different departments of our small company that have a stake in this functionality, each with a different point of view. We looked at the account details page and the account summary report, and agreed that a simple approach would be best: change the label “Sponsor” on the account details page to “Account Representative”, a new concept in our system which identifies the person whose name goes on all the legal documents. In addition, we’d have a new page that lists all the sponsors for the plan, with columns for each item of information such as phone number and email, and link to that new page from the account details page. We can probably use that same page in other areas of the application. The sponsor information can be removed from the account summary report.

I discussed this idea with one of the developers, who agreed it was probably the simplest and least costly way to provide the information. Then I documented it on the wiki page for the “Close the Gaps” story, including screenshots on which I made notes about what to do. I wrote high-level test cases, and identified where we need more detailed, automated test cases (I’ll start on those when a developer starts working on the coding tasks).

The Product Owner thanked me for finding some unexpected places where this theme “poked out”, and helping to identify low-cost solutions. I enjoyed exploring some of the more obscure parts of our application, learning more about how they work and what needs to be changed, and writing specifications and test cases so that the developers will know what to code.

Here’s a snippet of the wiki page. The links bring up annotated screenshots. (Click the image so you can read it!)

part of Wiki page for Close the Gaps story

StarEast 2010 – Self-Organized CWAC

Monday, May 3rd, 2010

I have LOTS to write about StarEast, but I’d like to start with the conference-within-a-conference that a group of us planned on our own. Well, I didn’t do much planning, but Matt Heusser took the lead and lots of other folks including Justin Hunter planned a couple of fun and enlightening events.

We were self-titled the “Rebel Alliance”. I don’t think we were rebelling against anything, there are just a lot of Star Wars fans in the group. (Though there was a good lightning talk suggesting good things we do rebel against). I was going to be a Bantha until someone reminded me of a gruesome scene involving one.

But I digress. We had dinner one evening, at which we even got t-shirts with a star fighter on it. So much fun to get to know people such as Yvette Francino, Shmuel Gershon, Lanette Creamer, Selena Delisie to name just a few (and how great to have lots of women!) I’ve known Adam Goucher awhile and met him at Agile 2009 (if not before), but it was great to see him and his fellow editor of Beautiful Testing, Tim Riley (who did a great keynote at the conference).

Shmuel Gershon's lightning talk

The next evening our group had our own lightning talks, which were as intriguing and creative (maybe more) than anything at the conference. Adam talked about pirates, and Lanette talked about herding cats. This photo of Shmuel presenting a new session testing tool he wrote shows how much energy the speakers had.

Jon Bach had surprising and thought-provoking exercises, as always. These are just a few examples.

At the Rebel Alliance Lightning Talks

Selena and Dan took lots of videos, I hope those will show up someplace. David Gilbert provided his own tasty home brew – what a treat! He did a good talk too, on what we’re rebelling against, and for – learning vs. pass/fail, programmer’s best pal vs. quality police.

Conferences always get my brain buzzing, just being around such smart and creative testing professionals. But being a part of this terrific group was amazing. From old friends like Janet Gregory to more recent friends such as Sean Stolberg and Dawn Cannan, to people I only knew on Twitter up to now, such as Alex Kell, to people I didn’t know at all before, like Mark Vasco -  it was almost overwhelming! I wanted to talk to everyone at once!

After this experience, I suggest you consider this at your next conference: get a group of like-minded people together and plan an evening ahead of time. You’ll look forward to the conference that much more, and take exponentially more ideas home with you. And you’ll be part of a small community that hopefully will live on past the conference.

The One Right Thing

Wednesday, March 10th, 2010

During a flurry of tweets and blog posts about whether or not ATDD is a good thing, I posted a blog on Stickyminds with my opinion. I’ve gotten some great comments, please add yours!