Showing posts with label Agile. Show all posts
Showing posts with label Agile. Show all posts

Monday, 17 November 2014

Oakton DVS Agile


When I complete a project delivery, I like to make sure that I list the agile practices that were used to achieve this goal.

No matter what people tell you about agile, there is no one way to do it. I have delivered and managed many agile teams over the years and even the same team across multiple projects and I have never once seen exactly the same agile practices set used twice.

Just as fingerprints are different between individuals, so are agile practice sets for teams. The variables are so vast that no two will be the same, beit the product being built, the team and parts of its sum or the baggage we all carry from job to job.

This is normal and this is why I keep track of all the combinations as I go along.

In the case of the Document Verification Service that we built for the Commonwealth Government's Attorney General's Department, the picture above shows the practices and some of the tools we used.

It is grouped in to development, management and analysis (BA and QA together) practices. Some of course, overlap.

Always keep track of what worked and what didn't. Try them in your next project but don't force them. Sometimes the best practice on one team will die brutally on another and vice versa.

Just as agile allows projects to adjust with changing requirements, agile itself changes for its team requirements.

Rigour over rigidity, always.

Tuesday, 26 August 2014

I was humble once and I was awesome at it or 5 Rules to Being a Great Team Lead


I often mock humility with my favourite saying "I was humble once and I was awesome at it."

The truth is that I think humility is a virtue. It is a moral excellence and one that many claim to possess but then fail miserably at.

The reason I bring it up in this context is because you can not enable and serve a team unless you possess the ability to put yourself last and not aspire to take the credit.

In the last few years, I have worked with egos that would sink the Titanic. Most have been brilliant individuals that for some reason craved the acknowledgement of their brilliance to sustain them.

There is one thing that I do well and it is building teams. That doesn't mean I am awesome at hiring geniuses. It doesn't mean I am great at finding combinations of people that work together. That doesn't mean my teams exist because of me. The one thing I do well is serve my teams. I exist to build a safe and sustaining environment that allows people to do their jobs.

People want to do good work. They want the 8 hours they spend every day to mean something. Most people don't want to run the world. In fact, they want that kind of rubbish to be kept out of their way so they can contribute to the best of their abilities.

I have five rules that I believe make a great team lead:

  1. Lead from behind - enable your team to do what they do best. Don't pull them along by a collar;
  2. Share the fame and share the blame - don't single anyone out as a hero or a villain. Teams produce great results, not individuals;
  3. Celebrate all the wins, no matter the size - don't wait for external validation to celebrate your team. Make the little moments big moments and the big moments, amazing;
  4. Lead the charge and die trying - always be part of delivery and contribute to success. No one will follow you if they don't think you truly understand what it is like to be them; and 
  5. Have fun - life is too short to be serious all the time. There is a time for seriousness and that is usually with your clients. With your team, you should be a person who laughs or cries or falls flat on your face. Being real will allow people to be themselves and when they are themselves, they will be great.
Humility involves succeeding and failing. Both are valid. Failing is ok as long as you learn from it. Success is ok as long is it doesn't go to your head.

Monday, 23 June 2014

User Story with Technical Use Case Template

Every single time I join a new agile team, I am asked the same thing - How do you write a user story?

There are many ways to achieve this. Here is mine template of choice. It is a User Story with Technical Use Case template. The hardest part everyone has when writing a story is defining Business Value. If your users wouldn't say it then it isn't business value. Keep that in mind.

User Story: @id


User Story: [One line description of the story. Keep it short as this is how the team will refer to the story. e.g. Eligible User logs in]

As a/an [persona/user/role/consuming-system e.g. Eligible User]
I want to [do a function of the system e.g. Log in]
So that [business value e.g. Access my information]

Main Flow

Preconditions/Entry Criteria

  • This is an unordered set of conditions that must be met before the first step can begin.
  • E.g. The user is on the login page
  • E.g. The user has already been added as a valid user with a username and password
  • …


Steps
1.      This is an ordered numbered list of steps that represents the happy path through the workflow.
2.      E.g. User enteres username and password.
3.      E.g. User clicks the “Login” button.
4.      E.g. User is authenticated and authorised and shown the Successfully Logged In page.
5.      …

Post Conditions/Acceptance Criteria/Exit Criteria

  • This is an unordered list of conditions that must be satisfied in order for the flow to be considered completed.
  • E.g. User sees the Successfully Logged In page.  
  • …

Alternate Flow 1

Preconditions/Entry Criteria

  • This is an unordered set of conditions that must be met before the next step can begin.
  • E.g. User login was unsuccessful
  • …


Steps
4.1   This is an ordered numbered list of steps that represents the happy path through the workflow.
4.2   This included all error flow but not exception flow.
4.3   E.g. User sees the Login page with an unsuccessful message .
4.4   E.g. User is able to retry logging in.
4.5   …

Post Conditions/Acceptance Criteria/Exit Criteria

  • This is an unordered list of conditions that must be met for the story to be complete.

Alternate Flow 2

 … 

Alternate Flow 3

… 

Exception Flow

Preconditions/Entry Criteria

  • This is an unordered set of conditions that must be met before the next step can begin.
  • E.g. A system exception has been thrown.
  • …

Steps

  • This is an ordered numbered list of steps that represents what happens every time there is an exception in the flow that can’t be anticipated. 
  • E.g. User sees the Error page with an filtered error message
  • …

Post Conditions/Acceptance Criteria/Exit Criteria


  • This is an unordered list of conditions that must be met for the story to be complete.
  • Monday, 7 April 2014

    Define Done



    Often when I read blog posts or articles about agile, they are talking about advanced concepts or solving funky problems that happen when you're in the depths of running an agile team.

    The alternative are Masters of whatever flavour of agile is in at the moment. They are saying you start by following these exact rules that will save your whole team. I call bullshit on all of them.

    In a previous post, I spoke about how there is no point is applying an agile band-aid if you don't work out where you are first and then add rigour to your current processes.

    Once you do work out what practices your team is using and identify them and apply rigour, it is time to start putting in place some entry and exit criteria to initiate work and define success. I consider it drawing two lines in the sand that represent where we start and where we finish.

    I always start with multiple Definitions of Done that apply to sprint tasks/stories, the entire sprint/iteration and the project.

    This gives the whole team an idea of what it means to have completed a task and signed it off. That doesn't mean you comply with full continuous deployment and produce production releases at the end of each sprint (although we all dream of such a utopia) but it does mean that you have an end state that is achievable and universally understood. Working software is of course, part of this end goal.

    It is important that this is understood before you even start the project so get this in place and get buy-in before you seriously put in any delivery effort.

    Definition of Done for a User Story
    I often treat the definition of done for a user story as the exit criteria for the swim lanes on a Kanban board. This defines when a user story that fits in a sprint is considered complete:

    • Business analysis is complete [Owner: Business Analyst][Swim lane: In Analysis];
    • Technical analysis is complete [Owner: Technical Lead][Swim lane: Ready for Dev];
    • Estimation of effort [Owner: Entire delivery team][Swim lane: Ready for Dev];
    • Implementation of the user story is complete [Owner: Developer][Swim lane: In Dev];
    • Implementation of unit and integration tests [Owner: Developer][Swim lane: In Dev];
    • Integration with all other sprint stories [Owner: Developer via Continuous Integration][Swim lane: In Dev];
    • Automated packaging [ Owner: Developer][Swim lane: In Dev];
    • Automated or manual deployment [Owner: Developer and Tester][Swim lane: Ready for Test];
    • Full functional testing in a partially integrated environment where mocks are allowed [Owner: Tester][Swim lane: In Test];
    • Sign-off of user story functionality, confirming implementation reconciles to requirements [Owner: Tester][Swim lane: Ready for Sign-Off]; and
    • Sign-off from product owner that the user story has been delivered [Owner: Product Owner][Swim lane: Signed Off]
    Definition of Done for a Sprint
    A sprint is considered done when:
    • Sprint planning was run and included the whole team;
    • All user stories are signed-off by business;
    • All user stories have been fully integrated with the current working software;
    • Automated test coverage meets the agreed team standard;
    • A retrospective has been run and actions owned or implemented by owners;
    • Backlog has been groomed for future sprints;
    • A deployable package has been prepared and versioned for release to an acceptance environment (that may be production); and
    • Actual versus Estimated Velocity has been compared for future planning.
    Definition of Done for a Project
    This is a much tougher one. It depends on the situation you are in and the environment. Often we aim for working software and successfully full requirements reconciliation. There are many other things though that make this list. It is one that must be agreed to prior to delivering the project.


    The important thing about any definition of done is that you must know up front what the goal posts are defined to be and not move them. Yes, you can change the way you play the game but you still know what it means to be finished.

    Don't start until you know what it means to finish.

    Monday, 31 March 2014

    Don't Be A Jerk



    In 2006, Joel Spolsky wrote a revealing blog post about how his company FogBugz hired staff. There were a lot of great insights about having strong firing policies to match your hiring policies.

    He talked about technical skill and all sorts of stuff but the one thing that stuck with me was one line that reinforced my view of the world and myself: " Even before we started the company, we realized that we should add a third rule: 'Not a jerk.' "

    I have worked with thousands of people now as a contractor, consultant and researcher.

    Through the years, I have seen people who I would quite willingly call genius. Brilliant beyond what us mere mortals can call smart. Above the intellect of the most intellectual intellectuals. I am not one of them. They are often so aloft when it comes to perception that the rest of us look like ants on the dirt.

    The thing is that I have also worked with very smart people. Not someone to be tagged with genius but very smart. Architects. ThoughtWorkers. Just smart people.

    Over and over again, I have come to one conclusion when I build teams. I don't want to work with jerks. No matter how smart you are. No matter your skills or your gansta gains, there is nothing that would make me pick a pretty good team player with above average skills over genius who solved everything.

    The way I see it, if I have to be stuck on a desert island with you forever building a hut or a raft or cooking the same old fish and bark we have eaten for months then I want to like you.

    We are but people. We want to want to be at work if we must. If there are 40 hours of our 112 waking moments then I want to volunteer to be there with others.

    Nice people make that possible.

    What Joel was saying in his vast wisdom is that you have to choose good people but they have to be good people. I'd forgo your brilliance for someone who can gel with the group. I'd give up that insight for someone who was above good but liked people. And if you don't get that then you shouldn't come work with me.

    Mean people are blockers.

    Hire good people who get shit done and aren't jerks.

    Sunday, 23 March 2014

    Forget Being Lean Until You Get Some Rigour



    Over and over again, people talk about Lean like it is a giant waterproof, super-fast healing Band-Aid that will fix every delivery team. They say "Toyota this" and "Motorola that" and "you're not lean enough."

    The problem I have with this is when the Band-Aid is being applied to a delivery team that has no structure at all. You can't make a cowboy team leaner or even more agile without putting structure in place and then improving it.

    I don't mean picking Scrum or Kanban and saying do this and then become leaner. Instead, I mean that teams must become aware of their as-is way of functioning. Identify practices and articulate them. There always are practices in place but people are not always conscious of them. Without consciousness, there is no method. Once you have method, you can use it rigourously.

    Become aware of what you do now. Decide on where you want to be. Map a course of action from one to the other and most importantly, give yourself time and give yourself permission to fail and correct.

    Telling a team with no self-awareness to become leaner is pointless. First find the point.

    Agile - Is it only mostly dead?


    One of the fathers of the Agile Manifesto, Dave Thomas (@pragdave) wrote a blog post a couple of weeks ago proclaiming that "Agile Is Dead (Long Live Agility)."

    The post has been moving through the software dev community and causing much head nodding. Everyone seems to agree that the word "agile" means very little these days and has been corrupted by the trainers who will make you a Master from a two day training course for thousands of dollars.

    At ThoughtWorks, we would mostly snigger at people who called themselves Scrum Masters but not because they were so quickly empowered. It was more because they missed the point of being agile and instead adopted prescriptive processes and accompanying costly tools to achieve what can be done with much less and achieve much more.

    The reason that I am happy Prag Dave spoke out and voiced this is because people will hear it now.

    Being agile is a way of thinking and acting and not a set of hard and fast rules that make better software. Tools and processes won't save a team. Pragmatism, rigour and constant feedback with change will.

    I don't know if the word "agile" is dead. The good thing is that a lot of us agree that we need to be more agile and not do agile.

    So go do that already.


    Wednesday, 27 November 2013

    Stand-Up or Scrum Etiquette


    My new role is on a team that has a scrum with almost 20 participants. At this point, it is important to obey the ethos of a scrum (or stand-up) or there is a potential to waste the time of many people.

    Here is my basic Scrum Etiquette. It is good to remind people of it at the beginning of a scrum at the beginning of a new sprint or when things are out of control.

    Scrum Etiquette:
    • Turn up on time. The scrum will start without you;
    • If you can not attend the scrum then give someone your update and they will go through it on your behalf;
    • Your update should consist of… 1) What I've done since the last scrum. 2) What I'll do between now and the next scrum. 3) Any blockers;
    • Your update should take about 30 seconds;
    • All other conversations should take place after the scrum in a Dev Huddle (for tech talk) or BA Huddle or Tester Huddle or specific delivery teams; and
    • Speak to the team and not just the scrum master. It's about sharing with your whole team and not just reporting your status to the boss.
    Scrum Anti-Patterns (for the Scrum Master to look for when running the scrum):
    • More than one person acting as the scrum master;
    • Everyone speaking to the scrum master;
    • Long updates with too much detail;
    • Technical discussions that other team members aren't interested in;
    • People not mentioning blockers. People should explicitly state if they have no blockers; and
    • People looking uninterested.

    I did google this and there weren't enough clear definitions. Every team is different and you will adjust to yours. This is a good starting point.

    Go forth and scrum.

    Tuesday, 12 November 2013

    We Are So Progressive



    While waiting for my clearance to clear (that's all for another blog post), I've been talking to different people about short term gigs. I am not in any major hurry to find anything so the conversations are not stressful job interview types but more a chat about whether we can work together.

    One interview was such an entertaining conversation that I was impressed at my ability to keep a straight face the entire time. Instead of giving you a blow-by-blow of the whole session, I'll just share the top three highlights that made me smile afterwards.

    "I don't believe in unit testing. It gives people a false sense of security. I believe testing gets in the way, which is why we fired the dedicated testing team."

    This came out of me asking what the automation in their dev and deploy processes is like and what kinds of testing (automated and manual) were in place. The development manager and architect (who is the same person) went on to lecture me on the false security blanket that unit testing is and that it is an overhead that in no way helps assure a quality code base. He used words like coverage and feedback loop and other buzzwords but not in any way that seemed to fit in with any kind of practices or processes I'd ever heard. It's very possible I was hearing of very new ideas. Yeah, possible.

    In the end, he had reduced his delivery team to a business analyst and a bunch of developers who pushed code through to Production in 20 minutes with his surety and trust that they simply didn't write buggy code.


    "We have Continuous Integration right there. *points at monitor hanging on wall* That screen shows our 16 production apps. It pings them every few minutes to see if they are still working. If they are, it's green. If they aren't then they appear red."

    Now, that is a dashboard but it in itself is not CI. I've been seeing the term Continuous Integration used a lot of by people who think it is based on red and green lights. I'm guessing the amber light of traffic lights must make them really confused.

    In this case, I asked if they had any automation around their build or deploy process. Again, I was dismissed as some kind of charlatan with ideas from yesteryear. This was the point where I became most distressed, in that burning-building-and-the-lifts-are-out-and-I'm-on-the-75th-floor kind of way.

    The dev manager said that "yes, our profession is going towards automated testing but that's a phase." He said he was going away from it having proved it wrong. He said "I am progressive." After later whinging to some ThoughtWorkers, we decided he was progressing backwards and so was technically correct. *sigh*

    "Data modelling is over-kill."

    Now, I'm the kind of girl who watches Fast and Furious 6 and thinks there weren't enough car scenes. I even read reddit and wonder why the comments ended. Over-kill is not something I claim or proclaim much at all.

    In this case, he (dev manager guy) wanted to know what I liked about ASP.NET MVC. He wanted to make sure I hadn't just read the FAQ. I just spent the last 18 months as the Microsoft PFE ASP.NET MVC Lead in Asia so when I say I know MVC, I wrote the FAQ. Either way, test away.

    I gave my reasons and went on to talk about DDD and the merits of building a domain true to your users. He sniggered. That's ok. People snigger.

    In this case, he challenged every idea of modelling to the point that he said he'd discarded Entity and any persistence layer at all and thought a Dataset passed straight to the templating engine wasn't awful.

    I sighed again.


    So those were my favourites. I commend myself on my ability to listen and consider all that was said. Even his impressive 20 000 requests on his 16 web applications per day had me keeping a straight face. Ask any of my colleagues who've worked on farms that do that in a second. Oh well.

    One thing I took from this whole experience is that everyone has a world that seems huge to them. What we must learn is how to judge up and out. There are people out there who don't want a pissing contest. They just want to help you build software that scales, is robust and can be extended.

    In my world, I always want to strive to work in better places that teach me bigger and more amazing concepts. Everything I know is tiny and insignificant compared to what I have to learn.

    At least, I know that.

    Tuesday, 3 September 2013

    Agile - Start with paper walls



    Clients often come to me to ask how they should set up their instance of TFS ALM so that it will reflect their software development lifecycle.

    My usual response is a question: What is your software development lifecycle?

    Now, that is actually quite difficult to answer for most developers and development team managers.

    Most people either say waterfall or agile.

    It is rarely waterfallers who are asking for more process or tools. It is usually the neo-agilistas who want imposed structure . Everyone is doing agile or they did it once and it didn't work.

    There are many tools out there promising to agilify your software development "process".

    They will promise that it doesn't matter what standard your developers are at because the tool will raise them up.

    They will promise that it doesn't matter if all you've ever done is waterfall with an avalanche of specifications and documentation because you can just stop doing that.

    They will promise that if you sign with a little blood then everything you do will be faster, better and leap buildings in a single bound.

    Let me tell you honestly and with great confidence that there is no software tool on the market that will do any or all those things for you.

    Spending thousands of hours building, mentoring and empowering agile teams has taught me three very important immutable facts:

    1. You need to train your teams to be agile and that can only be done by introducing experienced agile coaches;
    2. No tools will ever save you. Tools will aid you in recording and tracking your progress but they will not set that progress in motion or maintain its momentum; and
    3. Communication and transparency are the keys to building great software, which means your teams must talk, you must talk to your business who set the requirements and you must be honest about what works and what doesn't.
    When I start an agile team from scratch, I start with a bunch of cards, some Sharpies and a will to encourage people to talk to each other by creating a safe working environment.

    Jira or TFS ALM or whatever silver bullet you have been promised is nothing if it isn't accompanied by experienced agile practitioners and an acceptance that you will learn along the way.

    Start with paper walls and good people.

    Tuesday, 20 November 2012

    Team Players Are Worth More Than Superstars



    A lot of time, I am involved in putting teams together and getting them to mash.

    Sometimes, I am given the raw materials and have to make the most of what is given me.

    Other times, I get to pick and choose and use excuses like "we need the best combination to deliver what the client wants."

    Often when we hire developers, we look for technical skills and client facing skills and design skills. This is all well and good as long as we also look for collaboration skills.

    The environment that I play in is full of superstars who really do know their stuff. The thing is that when I'm choosing a team that knows my stuff, I want one thing in particular. You have to know how to collaborate.

    A developer can know an API front to back.
    A developer can talk about the intricacies of their technology stack.
    A developer can describe everything they have ever built and impress you.

    However, I want someone who can work with others.

    I am not fussed if they are a member of Mensa or can recite 6 digit primes by heart. That doesn't make a useful developer.

    What is most important is that you can work with others. You must be able to say what you have done. You must be able to describe your intentions. You must be able to write code that doesn't identify itself as yours but instead mold with the team.

    Yes, there are so many average devs but a good dev who can communicate and collaborate will wipe the floor with them.

    Be a good team player.

    A superstar is worth nothing alone.

    Thursday, 21 June 2012

    Measurement and Sentiment



    A good friend of mine and former colleague is working in an environment of legacy applications, with legacy developers who don't want to take part in any development practice change. He is charged with moving all of their pre .NET apps to a later and greater version of Microsoftness. They are encouraged to come along on the journey but are not really interested in changing their ways much at all.

    While thinking of advice to give a friend, I came to these conclusions.

    The first thing with change is to understand that it is human nature to resist it. The ones that push back are not the freaks, those of us who chase the mutations are. We are the minority but we are the ones who shape the world around us.
    That is why buy-in from your team members (the pigs, not the chickens) is extremely important.

    Rigorous practices is what makes an agile team. Those practices are determined to work based on two things - measurement and sentiment.

    Measurement is the data that proved that a practice applied rigorously achieved a measurable increase in quality or quality or clarity or whatever your sliders are set to.

    Sentiment is the buy-in to the practice by the team members. That is devs and BAs and testers and business reps and anyone else involved in using that practice to get the best results. Without buy-in, the practice should be dropped after trying it for one or two iterations.
    On a new agile team with people who are feeling consciously incompetent and not believing, you can fail to gain buy-in or lose what little you had.

    Without sentiment, measurement is unsustainable. Without measurement, sentiment is unjustifiable.
    When I teach engineers or any member of a team a new way of doing something, I explicitly ask for buy-in. If they don't give it then I sit with them and try to understand what the pain point is that they are experiencing. Then I address that concern, beit with understanding or a different practice or explanation or discussion.
    Try do this at an individual level if you have relationships already or think the discussion will build rapport or technical respect.
    If it is the whole team you need to address then use a retrospective that allows everyone to air what doesn't work in a constructive setting. Self organising teams must decide what is best for them with some guidance but they must choose for themselves. If they choose then they commit as part of the deal.

    Often those who suggest the ideas are the outspoken ones and the leaders of the descent anyway. Use them as a force to encourage change.

    Friday, 15 June 2012

    Presenting at the Premier Field Breifing


    Today was a day for Canberra Premier Field Engineers to share their knowledge with an open house, at our second Premier Tech Briefing for this financial year.


    My colleagues were out in technical force and dressed like Microsoft ninjas. I got to wear my Swarovski crystal Microsoft shirt which was I admit, a highlight.

    Jimmy Fitzsimmons presented on Windows 8 Dynamic Access Control as Steve Moore, the Lync genie spoke in an opposing room.

    Imtiaz Khan then gave a SCCM 2012 Tech Overview, while Grant Holliday and I did a joint session on Agile Development with Visual Studio and Team Foundation Server 2012.

    There were wild cheers; huge amounts of delicious food; virtual graffiti of another engineer's face as a demo; and a free autographed book from our local published TFS guru.

    We had a fantastic turn out with attendees from 25 organisations from across Canberra.

    The immediate feedback has been very positive.





    Next time, we will have a full dev stream. Stay tuned.

    Friday, 25 May 2012

    Premier Tech Briefing 2012


    Premier Tech Briefing 2012 – Friday 15th June

    Come and join us for the Mid-Year Premier Tech Briefing 2012. Learn from the best as Microsoft Premier Field Engineer’s (PFE) show you their tips and tricks learnt from the field.

    Arrival/Registration and Breakfast – 08:00am to 09:00am

    Please arrive at the venue with enough time for registration.

    Session 1 – 09:00am to 10:30am

    Option 1 - Windows 8 Dynamic Access Control

    Presented by a Microsoft Premier Field Engineer. A first look into Windows 8 Dynamic Access Control – Everything you thought you knew about securing a file system is about to change!

    Option 2 – Deploying Lync 2010!

    Presented by a Microsoft Premier Field Engineer. A deep dive into how to get the most out of a Lync 2010 deployment.

    Session 2 – 10:40am to 12:10pm

    Option 1 – SCCM 2012 – Introduction to SCCM 2012

    Presented by a Microsoft Premier Field Engineer (PFE) A deep dive into the new features of SCCM 2012 – All your questions answered!

    Option 2 - Agile Development with Visual Studio and Team Foundation Server 11

    Presented by a Microsoft Premier Field Engineer. We will take a ride through an example project and show you how an agile team can efficiently prioritise, plan, and deliver high quality software. We will also take a look at the valuable set of new features and capabilities that Visual Studio 11 and Team Foundation Server 11 bring to agile teams.


    Venue: Microsoft Canberra - Level 2, 44 Sydney Avenue, Barton

    Registration


    To register, please emails damadden@microsoft.com

    For any questions please contact me. I hope to see you there!

    Monday, 21 November 2011

    How To Operate


    There is a lot more to agile than a bunch of practices that people claim they have been doing for eternity and someone has just put a name to. There is a lot more to agile than doing a Scrum course over a week and getting a certificate. There is a lot more to agile than reading a few blogs, buying a bunch of books and going to a conference.

    I don't believe in big A agile. There is no one methodology for software construction. There is no one method for anything in life. There are however a whole lot of practices that when used in combination with others and in the presence of a certain level of awareness of the required patterns and undesired anti-patterns, you can run a successful agile project that results in emergent quality and software that business wants.

    The one thing that I am seeing over and over recently is people coming to me and saying that they are doing agile but it isn't working. They have people on the team who have done agile before. They have people on the team who are trained Scrum Masters. They have people on the team who have bought in and want to do agile. All of these good things and yet, they are failing.

    I freely use the word failing without it feeling like that is a bad thing. It isn't. Failing is a way of learning and people who can step back and say that they tried something and it didn't work, are the kind of people who learn and improve.

    To actually achieve a cohesive agile environment and a team that can find their peak and attain that, you need the glue that is an agile coach or iteration manager. Some people call it the scrum master but that term is so easily obtained these days that I do not think it holds much credibility.

    No matter what you call that glue, they are the person who keeps the the team moving and finds the sweet spot that is the practices and level of rigour that will work for that team in the specific environment they are in.

    The famous cry of "I've been doing agile forever and they just gave it a name" is so so wrong.

    You can not just grab a bunch of practices and call that agile. The famous cry of "I've been doing agile forever and they just gave it a name" is so so wrong. Agile is not just a bunch of practices and terms and things to do. It is the whole process of constant reassessment, learning, rigour, retrospective analysis and self-organisation. It is something that you must experience and learn before you try it yourself and then help others.

    I always refer back to the method that surgeons use to train other surgeons to do an operation.

    The method is that you "see one, do one, teach one".

    See One
    Participate in an agile team as a team member. Seniority does not matter. You can be an expert at anything or nothing and that doesn't change the fact that you take part in the team and learn how practices work together and how to see patterns and anti-patterns that let you choose what shapes the team.

    Do One
    This time, you organise the agile team and help propel it. Remove blockers; Suggest practices and tools for the context and team; Measure the quantifiable parts and communicate them; and be the glue. This can be done with the support and supervision of a person who knows how to teach or coach. They can back you up.

    Teach One
    Be the teacher and coach others to be members of an agile team. Let them learn about their environment and adapt to a changing environment. Your job is to enable and act as lubricant for others who are learning.



    If you understand that this is the process that must happen before people are fully enabled to work in an agile way then you will understand why teams without this but with the best intentions still fail.

    It also explains why having an agile expert on the team can be a peaceful process that makes the whole thing feel easy. When they leave, it sometimes feels a little unstable. They shouldn't hold all the information back or be in control. A coach should enable you and let you find your way, with a safety net.

    I had a project manager say to me recently "Damana, the reason why what you do looks easy, is because it is". I smiled kindly and sadly watched him eat his words later when he took over and ran the project on to rocks.

    The reason an agile coach makes it look easy is because they saw one and then did one and taught one, several times.

    Thursday, 22 September 2011

    A Thousand Words


    When I find myself explaining a concept over and over again to the same or different members of my team, it is a signal that I need to draw a picture.

    Often, I draw the picture for a few people before it clicks that I should put it on an A3 piece of paper and stick it on a wall or take a photo and send it around in an email.

    In the case above, I was explaining mapping between model classes coming out of different layers of the application. All sorts of words were being used to refer to these objects and it was getting confusing.

    This image has given us an explanation of where mapping classes exist; what models coming out of different layers are called; namespaces to be used when creating or referring to mappers and models; and a common language for technical discussion.

    To write that in a document would be long and cumbersome.

    When you aren't explaining it in code, explain it in pictures.

    Sunday, 4 September 2011

    Quality Assurance is a myth


    Anyone who stands before you and tells you that they can assure quality in your application is talking rubbish.

    There is no way to achieve assured quality. Quality can not be assured. I was taught this by some of the best QAs in the world. Let me explain to you what they explained to me.

    The first thing that people seem to tout when they instigate continuous integration, X driven development or employ a QA is that they can now assure quality in everything they build.

    Let me break the truth to you. There is absolutely no way of ASSURING quality in anything you build. Ask the guy who forgot to used the metric system and caused the Mars Orbiter to crash. NASA has the strictest of all environments to assure there are no mistakes.

    The way I build software is to ensure rigour. To ensure that the practices that are used in managing a team, gathering and expressing requirements, writing the code and meeting the acceptance criteria are so engrained and bought in to that quality emerges.

    People speak of methodologies. I speak of rigour.
    People speak of best practices. I speak of rigour.
    People speak of theory and practice. I speak of rigour.

    There is a distance between the project management focused Scrum and developer focused XP. Companies can sell you their flavour of this and that but the truth is that you need to find the way that works best for you.

    Find that way. Find the practices and methods that bring the benefits to you and your company. Hold on to them and repeat them. Do them over and over in small sprints or iterations or bursts or waves. I don't care what you call them. Just find them and correct them as you travel. Allow yourself to be wrong and fail as long as you learn from it.

    It's not rocket surgery. Consultants try to tell you it is. It's not. Good software can be built in a way that allows quality to emerge. It is a craft and as such must be built by craftsman.

    Companies try to undervalue the craftsman and sell their solution. The reason is because they know that software is a true craft and it must be taught by a master craftsman to a novice. Great software takes great individuals. It takes guidance and a honing of skills. It does not come from big M methodologies or style focused companies.

    If you want to build good quality software then find a very good craftsman and let them build a team. Let them teach the team. Let them guide your progress. Close your eyes and take a leap of faith. You will be rewarded.

    Quality comes from great team work. Great practices. Rigour. Craft. Buy in. Pride in product.

    This is why it seems random. You are looking for the wrong patterns. Find a great lead who enables and cares and you will build bliss.

    Monday, 15 August 2011

    At least we have one


    I posted a link to this photo on Twitter this morning. One of the first responses I got was making fun of the fact that the first incarnation of our continuous integration server is on an old laptop. They used the word "quaint".

    When I asked the rude person what their server ran on, they didn't even have one. This leaves me thinking that I'd rather have a caravan in the hills than a mansion in the slums.

    Excuses about not having the money or permission or a restricted network is not a good enough excuse to not have a server that is building your code, running your tests and preparing automated deployments. Get out there and start building rigour in to your development practices and hopefully finding the emergent quality that accompanies it.

    If you don't happen to have one or possess the will to make it happen then shut up because you just look lazy and rude. Lazy on its own is bad enough.

    Wednesday, 3 August 2011

    Tell me a story


    The story wall went up at work today. We are the not just the only project running agile, we are the only project with much of a plan at all. Working in this small city has frustrated me to no end. People here talk of things they do, without doing them. They say they are aiming for this and that and then all the aiming that is done is in the talking of it.

    This project is different. We are walking the walk. The team likes the idea of agile. They are willing to try it. They are willing to find the flavour that suits them and the project.

    Our goals are simple. Short deadline. Fixed budget. Huge scope.


    The Story Behind It



    When I joined, we had done a lot of requirements gathering and there were big solid specs being written. There were documents defining process and documents defining documents. Today, I uploaded my last documentation of the project up to the Sharepoint portal and turned my head to the story wall.

    Over the last few weeks, we have been breaking down tasks. I walked them through how to do that breakdown and then how to guesstimate to the best of our knowledge at the time. We recorded effort in days and the whole team agreed on complexity and volatility. We came up with numbers and costs and best of all, a shared understanding of what we were building.

    The first visible way this has been communicated is to produce a story wall from our master story list. The master story list is a list of the discrete tasks that describe functions and sub-functions in the required system. Developers will undertake one task at a time, after business analysts have described it and they have both agreed on acceptance criteria. That acceptance criteria will guide our test driven approach to development and eventuate in automated tests and the QA and then user acceptance tests for each story/task/story.




    Reading the Cards


    Right now, the wall is made up of different coloured cards...
    • White - Story cards made up of an Id, a task description, estimation of effort, complexity and volatility ratings and space for acceptance criteria and notes;
    • Green - Descriptive cards that give headings for the stages that a story goes through and other important sections that a card can belong to;
    • Pink - Defects which are played like stories and require Ids, estimations and all the things a story needs. They will come out of testing stages after they have been accepted for QA and moved out of In Dev, which are two of our story stages;
    • Yellow - Tech cards for technical tasks that are related to stories and need to be explicitly detailed. I personally hate tech cards but for iteration 0, they are valid. If I see too many, heads will roll;
    • Blue - We haven't associated them with anything yet. We are calling them Terry cards. Terry is our project manager. We didn't want him to feel left out since he's on leave and I'm sure he'll have a good suggestion for their use. Possibly things Damana is not allowed to blog about;
    • Sticky notes of random colours - These denote blockers and notes relevant to a story. They are stuck on the story card.


    The Life of a Card

    There are columns that represent the stages a story, defect or technical card can move through. At each stage, there is an owner of that card. A card can not be in play and not have an owner. For a card to move from one stage to another, there must be a discussion between at least two members of the team and one must be the owner handing over to a new owner.

    Our stages for this project are...
    • Backlog - Where all stories sit until they are played in an iteration. Everything starts here. It's a little like Munchkin Land;
    • In Analysis - All stories that are being played in a current iteration will start here on the first day of the iteration, after the IKO (Iteration Kick Off) meeting. At this point they belong to the business analysts and will only move once they are ready for development. This is usually a decision made by two analysts or an iteration manager and an analyst. Remember that the analysis on a story does not need to be 100% complete. A story card is an opportunity for a conversation. It is not a spec;
    • Ready for Dev - Now the story is available for a developer to pick up once they have the bandwidth to start and complete it. At this point, the decision to move it to the next stage is made by a business analyst and a developer. If you live in a perfect world then hopefully a QA is around to help establish acceptance criteria with those two;
    • In Dev - The acceptance criteria is set, the estimation validated loosely by the dev and the shared understanding of what is required completed enough to start the task having occurred between analysts and developers (yes, a pair). Development starts. This does not mean running away and working in solitude. Nope. There will be more questions for the analyst and the business and other members of the team. Nothing happens in isolation on this agile team. Transparency and Conversation are paramount;
    • Ready for QA - As it sounds, this is when the developer(s) think that the story has been fully implemented and can be taken for system testing. In our case, this means acceptance criteria are met and there are automated tests at all levels ready and running in continuous integration. Full integration has been made with the project code base and all compliance with agreed coding and developer standards are adhered too (well, mostly). At this point, the developer and the QA are often having a chat. Anything that needs clearing up is brought to the business analyst. Beware of slippery developers who bargain at this point. Don't pay the ferryman until he gets you to the other side. I have turned around to many QAs and said "well, you agreed I met the criteria so move that to another story";
    • In QA - The story is in system test and belongs to the QA. I won't tell you how to do good QA because I'm a developer and there are better people out there to tell you such important things;
    • Ready for UAT - The story has met acceptance criteria and passed system testing. It is ready to show to the client;
    • In UAT - Users are testing it. The team deals with defects and waits for users to accept the implemented functionality. Business analysts, QAs and iteration managers are dealing with outcomes at this stage. We wait;
    • Signed-Off - The users have tested it and the business has signed off the story as complete. We celebrate. For some that is chocolate. For others champagne.

    Pwn It

    Every member of the team has chosen themselves an avatar that will represent them on the wall. Some chose their photos. Some chose creatures or characters that represent them. This is how they will be seen and how they will own their current task. These are about the size of a business card. Our only rule is "no nakedness".


    The Outcome

    Every process is different. Every wall is different. The purpose is the same. Communicate and provide visibility to the whole team and stakeholders.

    Tomorrow, we will start holding our stand ups around the story wall. That is when the team will see the true value of both the visual story wall and stand ups. It will become the most important part of our project.

    It will grow and change so that it gives meaning to our particular project. Come back once in a while and check how we are progressing.

    Acknowledge Me

    Apple started a user experience trend many iOSes ago when it accepted Settings changes and did not ask for confirmation. Once the chang...