Sunday, January 20, 2013

Community TFS Report Extensions Version 1 Released

Last year Steve St. Jean and myself did some extensive work creating custom reports for a joint client of ours. The client was a large company well into an enterprise adoption of Scrum and other Agile practices. The reports we made them ranged from a set that helped make the testing efforts and work in progress in each Sprint more visible to multiple views of their Release Plan and its allocation of work to support software capitalization.

The client was gracious enough to give its permission for us to remove any of their proprietary material and release them to the public. Thus the Community TFS Report Extensions project on Codeplex was born.

We are happy to announce our first release of the report pack that includes our first two reports:


Test Plan Status Report 


The Test Plan Status is a report that extends the functionality found in the Test tab of Microsoft Test Manager.  While Test Manager can show you the completion status of the selected Test Suite, it does not show roll-up information when you have a hierarchy of suites.  This report is intended to fill that gap.


Release Plan Report

The Release Plan report shows the Product Backlog sorted by priority and overlaid with which sprint the items are forecasted to be delivered based on a given velocity. Only backlog items that have an effort, priority, and are in a valid state are included. Optionally you can specify a deadline which will appear before the Sprint it would fall during so you can see what items are forecasted to be completed by that date.


This initial release supports TFS 2010 and the MSF Agile 5.0 and MS Scrum 1.0 process templates (the Test Plan Status Report also support the CMMI template). We will be adding more reports in the near future along with updates to the current release with support for 2012 and some extensions.

Please take a look at the project and give us your feedback so we can continue to make these reports better. If you are interested in contributing, please let us know. The more the merrier!

Tuesday, January 15, 2013

Distributed Planning Poker and TFS

Mountain Goat software makes a great online planning poker application at PlanningPoker.com (funny enough). After registering for free you can create games and invite your team members to participate and cast votes for User Stories.

We used this for our distributed estimation sessions but entering all the stories was bit laborious. There is a great option when you create the game to import stories in a comma delimited format. When you are using Team Foundation Server you can create a query to export selected fields for your User Stories and add them all at once while creating a new game.

Create a TFS query with the fields you want to show in the planning poker game like the one below.


Open the query in Excel.


Then save the spreadsheet as a CSV.


Then open the file in Notepad.


Copy the column header rows and the rows with the User Story data. When you create a new game on PlanningPoker.com there is a field where you can paste the rows to import them.

Then when you start the game you can add each story.

Then your team can estimate each story.

Now if only they had an option to have it automatically update TFS with the result. Enjoy!

Wednesday, January 02, 2013

Agile Game Night Recap

This post has been sitting in my drafts folder for a few months! Sorry to post it so late.

On October 23rd the Nashville Agile User Group held an Agile Game Night to help people learn the principles and values of Agile through fun and games. While some really bad traffic kept some attendees away, those who braved the grid lock had a great time. Here's a recap of the games:

The Domino Effect

Benny Baggott facilitated the Domino Game. In this game teams estimate how long it will take them to build a tower of Dominoes to a specific height. Once they start executing the facilitator starts to treat each team a little differently to see how outside influences affect their progress towards their goal. Each team had different outcomes and it was a very interesting conversation afterwards.

It was noted that once one team finished and Benny started urging other teams to finish as fast as the first team they felt more pressure and knocked their half built towers down more. We discussed another option for running the game would be to have the different teams in separate rooms where they cannot see each other and then when getting estimates say things like "Really? That's your estimate? The other team was doing it in half that time." The idea is to illustrate how these outside influences from management can have a significant detrimental affect on team performance.

The Penny Game

Tommy Norman ran the Penny Game which a few people has done before in their certified Scrum Master training. In this game you simulate work by having 4 people at a table flip 20 pennies and pass them around the table. You start with large batch sizes and then reduce the size from 20, 10, 5, and finally to 1. The time each person takes is timed by their "manager" and the "customer" times how long it takes for them to get their first deliverable while the "CEO" times the whole process start to finish. 



After repeating the process with the different batch sizes you get some interesting conclusions from the time data. Time to market and total duration of a project is greatly reduced with the smaller batch sizes, but the individual performance is longer. The cost of each batch transition (passing the pennies to the next person) which could equate to any hand off overhead in your process adds up and reduces the efficiency of each worker but the performance of the whole process is much better. It is also a great way to also debunk the myths of productivity by making the individual parts of a process more efficient rather than the whole process.

The Agile Ball Game

This is another game some people had experienced as part of previous Agile training, but not as much as the penny game. Peter Balcarce led this game in which everyone is on a team who's goal is to pass around balls of various sizes to each other seeing how many they can get all the way through in 2 minutes. The rules are you have to have air time when passing the ball, everyone has to touch the ball at least once, you cannot pass to the people directly left or right of you, any dropped ball has to start over, and the first person who touches the ball has to be the last person. You get 1 minute planning and retros between 5 of the 2 minute sprints.



Those who have done it before are asked not give away the better processes for passing around the balls and to let the team self organize to figure it out. Generally the first run is very hectic and the team does not meet their goal. They normally regroup during the 1 minute retro and improve their process. On the second or third run the facilitator will start to remove people to simulate team members being called away for other important work. They also will bring in new team members who may not know the rules. The effect is that removing or adding team members almost always causes a significant disturbance.

Some other observations we had were that when we were tossing around balls of roughly the same size (like tennis balls) we established a good rhythm  but when balls of drastically varying sizes were introduced we were not as efficient. This is a great game for managers to show them how shuffling teams has a detrimental effect on their performance.

GetKanban Board Game

Chris Hefley and the gang from LeanKit Kanban introduced the GetKanban Board Game which is a fun, hands on way to learn the basics of Kanban. There are several versions of the game, some you can download for free, and everyone who played had a great time and said it really brought home the concepts of WIP, bottlenecks, lead time, etc.



Thanks
We'd like to thank all attendees and those who helped facilitate the games. We would also like to thank our sponsors: Holland Square Group, Vaco, LeanKit Kanban, and Omnicell.

Wednesday, October 03, 2012

Tons of Technology Events in Nash Vegas this October

Here is out little town of Nash Vegas we have a great technical community and they seem to have outdone themselves this month. There are so many great events happening I am having to negotiate with my wife to get to go to as many as I can: "I'll go see that chick-flick you've been wanting to see if I can go to BarCamp Nashville."

There is truly something for everyone, so take a look at this list and support our local technology groups by attending some of these events. Also help spread the word by Tweeting, Facebooking, shouting on street corners, body painting, or whatever!


  • Nashville Agile User Group Monthly Luncheon, Oct. 8th - Come join the discussion around "Engineering Best Practices in Agile". These are open discussions where everyone can get involved and share their experience. https://groups.google.com/forum/?fromgroups=#!topic/agilenashville/cDAXX8qcdtc
  • GeektoberFest, Oct. 9th - Vaco is throwing and big "Thank You" party for the local tech community with free beer. You can't beat that. Plus they have really cool t-shirts. http://geektoberfest2012.eventbrite.com/
  • Nashville Technology Council's User Group Roundtable, Oct. 10th - If you help run any of the local user groups in Nashville, the NTC wants to find out help they can best support your group. This is going to be a great collaborative effort with many of the local group leaders attending. http://new.evite.com/#view_invite:eid=017AMDVWTUTCHIKMCEPB7XNQRD7M2I
  • Nashville .NET User Group Lecture Series, Oct. 11th - Alan Stevens, a great technologist and a friend of mine, is going to be speaking on how developers can add more value to their company and teams by "leveling up". Always entertaining and informative. http://nashdotnet.org/2012/09/october-11-alan-stevens/
  • Nashville .NET User Group Coding Dojo, Oct. 18th - Coding dojos are a fun way to sharpen your coding skills by practicing with your peers. Bring your laptop and get ready to karate chop some .NET code! http://nashdotnet.org/
  • Nashville BarCamp 2012, Oct. 20th - What could be better than a technical conference held at a bar? The wide range of sessions has something for everyone. A great event to meet new people and discover new ideas. http://www.barcampnashville.org/bcn12/
  • Nashville Agile User Group's Agile Game Night, Oct. 23rd - Come learn the principles of Agile through fun and games. Learn stuff like theory of constraints, benefits of iterations, myths of fungible resources, and more! https://groups.google.com/forum/?fromgroups=#!topic/agilenashville/7eoDmWVKcWY

Tuesday, September 18, 2012

Agile User Group Recap: Dealing With Technical Stories on the Backlog

At September's Nashville Agile User Group meeting we had a discussion about how to deal with technical user stories on the backlog. There was a great deal of conversation with many good points from multiple approaches.

First we talked about what we meant by a "technical user story". We referred to stories having to do with technical activities that did not deliver any new value to the end user. Some that were brought up were things like "upgrading servers or other supporting applications", "refactoring a module to be easier to maintain", etc.

It was brought up that even though the story may not add value to the end user, it usually could be shown to have a tangible value to the company as a whole. An example was if we have a module that requires our operations folks to go onsite and manually perform some task on the servers, but we could rewrite this to be managed remotely, that could be quantified by how much time (i.e. money) we would save for the operations folks.

In that same vein it we lamented that technical people often do not communicate the value well to the Product Owner and other stakeholders so these items are left off or always pushed out (sometimes permanently). Technical user stories need to be written so that their value is clearly outlined.

At this point I mentioned that I had seen several instances online of very well respected Agile thought leaders saying never to put technical stories on the backlog. one such instance was recently on the Scrum Development Yahoo group where Ron Jeffries said:
"We do not, repeat DO NOT, put code improvement "stories" in the Product Backlog."
Well that seems fairly clear, right? However if you read his entire post he directly follows the line above with:
"The main reason for this is that we cannot state the value of the improvement in any terms that the Product Owner can understand, and therefore the Product Owner can never schedule the stories. P.S. We don't know the value either." 
So it seemed like we were on the right track when we were talking about making sure the technical story had a demonstrable value. He goes on to say:
"If we do put code improvement stories in the backlog, we can't count the work against our Product Burndown or other progress measurements."
So it does seem that he is okay with technical stories as long as you don't count the work. This lead us down the trail of not adding the story points for technical stories to the team's velocity for a sprint. It was pointed out that Pivotal Tracker identifies these types of stories as "chores" and their points are not included in any sprint's velocity.

That sparked the debate over velocity being a metric of the team's productivity or a measure of value added each sprint. As it turns out you can find that the Pivotal Tracker folks had the very same discussion about this years ago.

I had just been talking to one of the other members about release planning right before the meeting so I added my two cents in that I prefer to not only estimate technical stories like these, but I do include them in the team's velocity because I was a metric that is a good reflection of what the team can do in the sprint to make a release plan. (I blogged about the way I like to create release plans here.) In that case I very much want to use velocity as a measure of what the team can produce.

Where we have used velocity that way we have also used a product burn up (or down) chart where we differentiated the technical stories (and bugs) from the user stories so that you could see how the team was doing as far as adding value to the user each sprint versus fixing existing stuff or working on these technical chores. To me that met Ron's criteria that you don't count the effort spent on technical stories towards an measure of progress.

Another side conversation came up when we added bugs into the mix. Do you point bugs? Do they go on the backlog with the user stories? Do fixed bugs count towards velocity? We did not get into that too deeply since that is an entire conversation in itself. Here just one instance of someone having a totally different view on how to tackle bugs, but I could easily find tons more.

When all was said and done all the attendees filled out our meeting survey which includes the questions "What did you take away from today's discussion?" Here are a few of those answers:

  • "Have reports that can show value delivered as well as how much work was done."
  • "Bugs are not really bugs until they make it into production." (Side note: this reflects part of the bug conversation where many of us talked about fixing bugs you find in the current development of a sprint immediately and tracking them more using the Sprint Backlog and our test cases. We only logged a bug into the defect tracking system if it was in released code which is what we consider any code done at the end of the sprint.)
  • "Learn how you want to track bugs relative to velocity."
  • "There are multiple ways to tackle the same problem." (You said it brother!)
  • "Bugs with zero story points make it difficult to track them in release planning."
As usual it was a good, spirited discussion and I look forward to our October meeting which is going to be about "Engineering best Practices in Agile." If you are in the Nashville area, sign up on our website to get notices about our meetings and upcoming events.