doc is a four letter word

27
1 © 2013, VersionOne, Inc. All Rights Reserved DOC Is Not a Four Letter Word

Upload: matt-badgley

Post on 23-Jan-2015

938 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Doc is a Four Letter Word

1© 2013, VersionOne, Inc. All Rights Reserved

DOC Is Not a Four Letter Word

Page 2: Doc is a Four Letter Word

2© 2013, VersionOne, Inc. All Rights Reserved

The Dude in Front Of You

• About the speaker– Matt Badgley, CSM, CSPO, ABC– Technical Product Consultant

and Agile Coach with VersionOne

– 19+ year Information Technology professional

• Contact Information– [email protected]– @agilemaniac, @versionone– http://www.linkedin.com/in/

mattbadgley

Page 3: Doc is a Four Letter Word

3© 2013, VersionOne, Inc. All Rights Reserved

Points of Discussion

Contention of Agile and Documentation

Page 4: Doc is a Four Letter Word

4© 2013, VersionOne, Inc. All Rights Reserved

Points of Discussion

Tips For how Agileand Documentationcan get along ...

Page 5: Doc is a Four Letter Word

5© 2013, VersionOne, Inc. All Rights Reserved

Points of Discussion

Agile Requirements

Page 6: Doc is a Four Letter Word

6© 2013, VersionOne, Inc. All Rights Reserved

Exercise - Documentation You Use or Create

• Write down the types of documentation that you use and or create– Use post-it notes and sharpies – use one post-it

per documentation type

• When finished, bring up and place your documentation in the right project state column

Page 7: Doc is a Four Letter Word

7© 2013, VersionOne, Inc. All Rights Reserved

ComprehensiveDocumentation

WorkingSoftware

over

- agilemanifesto.org

That is, while there is value in the items on the right, we value the items on the left more.

Page 8: Doc is a Four Letter Word

8© 2013, VersionOne, Inc. All Rights Reserved

So what does Agile say about Documentation?

Agile Medical Center

JBGE

Page 9: Doc is a Four Letter Word

9© 2013, VersionOne, Inc. All Rights Reserved

ContractNegotiation

CustomerCollaboration

over

- agilemanifesto.org

6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

Page 10: Doc is a Four Letter Word

10© 2013, VersionOne, Inc. All Rights Reserved

Why We Document

Share Informatio

n to Deliver

Downstream Usage

Compliance / Audit

Page 11: Doc is a Four Letter Word

11© 2013, VersionOne, Inc. All Rights Reserved

Exercise - What is your Doc For?

• Back up on our board, there are three new horizontal lines:– Top Lane = Compliance / Audit– Middle Lane = Share Information to Deliver– Bottom Lane = Down Stream Usage

• Sort the documentation in each column into their right horizontal lane

Page 12: Doc is a Four Letter Word

12© 2013, VersionOne, Inc. All Rights Reserved

Tips for Agile Documentation

• Focus on The Truth• Document Decisions• Who needs to know?• Use your writers appropriately

– Coders code, Tech Writers write

• Favor Accuracy and Brevity• Use Self-documenting Code

– It’s the tests stupid

• Make Documentation Transparent• Do the Minimum Required (a.k.a. JBGE)

Thanks to Jason Tee and Scott Ambler for this list

Uncle Bob Martin

Page 13: Doc is a Four Letter Word

13© 2013, VersionOne, Inc. All Rights Reserved

Page 14: Doc is a Four Letter Word

14© 2013, VersionOne, Inc. All Rights Reserved

Page 15: Doc is a Four Letter Word

15© 2013, VersionOne, Inc. All Rights Reserved

TAGRI!

Page 16: Doc is a Four Letter Word

16© 2013, VersionOne, Inc. All Rights Reserved

They aren’t Going to Read It (TAGRI)

Examples of TAGRI• Requirements never

read by Development• PowerPoint

Architecture• Documentation After

The Fact (DATF)• The Magical Process

Doc• Mongol the User

Manual

How to prevent TAGRI• Treat Documentation

Like any other Backlog Item

• Create for clear audience

• Always question how it’s going to be used

• Long-life vs. Short-life• Just Barely Good

Enough• Single information

source

Page 17: Doc is a Four Letter Word

17© 2013, VersionOne, Inc. All Rights Reserved

Agile Requirements

Page 18: Doc is a Four Letter Word

18© 2013, VersionOne, Inc. All Rights Reserved

What Are Agile Requirements?

• JBGE• Multiple forms– User Story (XP, Kent Beck, Mike Cohn, etc.)– Ultra-light Use Case (Alistair Cockburn)– Story Mapping (Jeff Patton)

• Decomposed to the point to be “delivered” in an iteration

• INVEST• Key Element - Definition of Done (DoD)

Page 19: Doc is a Four Letter Word

19© 2013, VersionOne, Inc. All Rights Reserved

How to JBGE Your Requirements

• Five Why your documents

• Use a Wiki (with stats)

• Define “Ready”

Page 20: Doc is a Four Letter Word

20© 2013, VersionOne, Inc. All Rights Reserved

Examples of “Ready”

• User Story defined• User Story Acceptance Criteria defined• User Story dependencies identified• User Story sized by Delivery Team• Scrum Team accepts User Experience artifacts• Performance criteria identified, where

appropriate• Person who will accept the User Story is

identified• Team has a good idea what it will mean to Demo

the User Story

Page 21: Doc is a Four Letter Word

21© 2013, VersionOne, Inc. All Rights Reserved

This is modeled after Jeff Patton’s, “Stories gain detail over time” slide.

New User Registration

As a general user, I need to be able to enter my email address, my first name, last name, and a password so that I can securely access the site.

Start with a Title and add a concise description1.

Before building software, write the acceptance criteria (how do we know when we’re done?)

Scenario: Enter Valid Information

Given I have entered [email protected] into email fieldAnd I have entered Smith into last name fieldAnd I have entered Jane into first name fieldAnd I have entered goodpassword into password fieldWhen I press RegisterThen The result should be a confirmation screenAnd An email is sent to [email protected] A user record is created

3.

Add other relevant notes, specifications, or sketches

2.

Need to provide a password strength indicator.

Life of a Story

Page 22: Doc is a Four Letter Word

22© 2013, VersionOne, Inc. All Rights Reserved

Agile Requirements Life-cycle

Page 23: Doc is a Four Letter Word

23© 2013, VersionOne, Inc. All Rights Reserved

Exercise - Rationalize Your Documentation

• Working together – for each section– sort the pieces of documentation with the most

used at the top of the section and least used at the bottom

– Remove those documents that everyone agrees would be better handled via verbal communications

– Flag those documents/diagrams that should be part of Ready criteria – simply write an “R” in the bottom corner

Page 24: Doc is a Four Letter Word

24© 2013, VersionOne, Inc. All Rights Reserved

Wrapping UP

JBGE

6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

At regular intervals, the team reflects on how to become more effective, then tunes and adjusts

its behavior accordingly.

Page 25: Doc is a Four Letter Word

25© 2013, VersionOne, Inc. All Rights Reserved

?

Page 26: Doc is a Four Letter Word

26© 2013, VersionOne, Inc. All Rights Reserved

Thank You

Page 27: Doc is a Four Letter Word

27© 2013, VersionOne, Inc. All Rights Reserved

Credits and Resources

• Jason Tee, Project Documentation and Agile Development, http://www.theserverside.com

• Scott Ambler & Associates, http://www.agilemodeling.com • Scott Adams, Dilbert, http://www.dilbert.com/ • Ken Power, Definition of Ready,

http://systemagility.com/2011/05/17/definition-of-ready/ • Bill Murray, Picture from the motion picture Meatballs• Pictures of Mike Cohn, Kent Beck, Jeff Patton, Bill Wake, Alistair Cockburn, Ron Jeffries,

and Scott Ambler taken from the net