PERSONA BASED TESTING & RISK ASSESSMENT @AGILEDAD
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
V. LEE HENSON CST / PMP ✤
Certified Scrum Trainer
✤
Project Management Professional
✤
PMI- Agile Certified Practitioner
✤
Certified Lean Agile Professional
✤
Motivational Speaker & Executive Coach
✤
Author of The Definitive Agile Checklist
✤
Inventor of Rapid Release Planning
✤
Information Technology / Psychology Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
2
THE TESTING STORY What others want us to believe about testing...
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
3
THE UNFORTUNATE TRUTH
•
17.2% of Executives surveyed said that getting a product to market faster was more important than achieving the highest quality.
•
23.8% of Software Developers feel like testing their own code is good enough and that formal testing practices introduce unneeded additional complexity.
•
48.4% of companies surveyed felt like having a formal testing strategy in place was important, but reaching where we need to be is an unattainable goal.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
4
FACING THE FACTS •
85.3% of organizations have stated that by temporarily delaying production and focusing on testing they have seen both increases in quality and quantity of the products they produce.
•
99.84% of organizations who have created a testing strategy have stuck with it and found increases in the overall quality of their product.
•
86.8% of companies who have embraced Test Driven Design and Development have seen dramatic improvements in the quality of their testing practices.
•
68.7% of businesses stated that the use of persona based testing has helped them create products that were better focused on their end consumer.
•
90.1% of businesses found that improved testing strategies increased the bottom line. Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
5
LET’S FORMULATE A PLAN
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
6
DOES EVERYTHING NEED A TEST? • How
do we determine what facets of a project really need to be tested?
• What
steps should we take knowing that we do not have the bandwidth to test everything as much as we would like to?
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
7
INSTEAD OF X ASK Y X
Y
What do you want?
Who will be using it?
What is it supposed to do?
Do we have Acceptance?
How thorough?
How Risky?
How will you use it?
Walk me through this?
More Details Please?
Do we have an example?
Is the Code Complete?
Can I write tests now?
When can I begin?
Can I start now?
When is it due?
Who am I working with?
Is that all?
Part of something bigger?
Better user info?
Do we have a persona?
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
8
UNDERSTANDING USE CASES Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
9
USE CASES TELL THE STORY • Use
cases walk us through an instance of how a product or service will be used.
• The
combination of GREAT use cases and the utilization of Roles & Personas allow for better test creation.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
10
UNDERSTANDING ROLES: •
Different types of end users may interact with the system differently.
•
Each role may have many different personas that will exhibit different behaviors and use the same system in a very different way.
•
Roles help us define broad stroke acceptance criteria that should be applied globally within a system.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
11
UNDERSTANDING PERSONAS •
Defining who more specifically will benefit from what you are building helps drive added value.
•
This helps teams focus on the 20% of the features that are used most of the time.
•
Using personas also helps the team consume backlog items with much lighter documentation
•
Most organizations create a handful of most commonly used personas to assist the team in building the product. Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
12
TAKE A CHANCE? What’s the Risk?
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
13
PROJECT PLANNING • “Plans
are useless...planning is indispensable” - Eisenhower
• Agile
practices embrace continuous planning
• Always
accurate, varying levels of precision
• As
we get more precise, so should our testing Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
14
THE E-COMMERCE WEBSITE •A
well known E-Commerce website recently had the following events occur.
• What
is the risk?
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
15
THE VERY LARGE AIRLINE •A
very large airline recently had this situation occur.
• Are
we seeing the risk?
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
16
THE ELEVATOR STATEMENT •
FOR (target customer)
•
WHO (is suffering from this problem)
•
THE (product formal name) is a (product type or category)
•
THAT (provides this key benefit or compelling reason to buy).
•
UNLIKE (the primary competitive alternative)
•
OUR PRODUCT ( final statement of primary differentiation) Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
17
WHAT ARE THE STEPS?
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
18
EMBRACING AGILE CHANGES:
C = Cultural Change O = Organizational Understanding P = Process Adjustment S = Strategic Readiness
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
19
What Percentage of the Code Should Be Unit Tested? In order to achieve excellence in any coding engagement: ‣
100% of Completed Code Should be Unit Tested
‣
100% of Completed Code Should at Minimum have a peer review process.
‣
100% of Coders & Testers should be willing to sit and work together throughout the software lifecycle.
‣
Failure to adhere to the above will result in the inability to do adequate subsequent testing.
‣
This is one of the leading causes of Technical Debt.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
20
AT WHAT LEVEL DO I AUTOMATE?
• Automate
what makes Sense!
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
21
TEST SMARTER NOT HARDER •
Steps to test to smarter:
•
1) Define the Vision & the Strategy needed to achieve the vision.
•
2) Identify how roles and or personas will interact.
•
3) Assess the acceptable level of risk involved.
•
4) Build with a test first attitude.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
22
TESTING & THE ORGANIZATION • Be
transparent to the organization
• Develop
a Test Plan and Stick to the plan.
• Create
and Stick to a testing standard.
• Establish
an environment and take control of your testing future. Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
23
BLENDING OF ROLES •
Developers can and SHOULD test!
•
Testers need to learn to better understand how code works and functions.
•
Everyone needs to help Automate when possible.
•
All should work to keep the testing environment pristine! Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
24
THE MORE YOU KNOW... • Work
with the organization to define a test tolerance level.
• Achieve
testing success through use of unit and regression testing.
• Discuss
release strategies and plan a release testing strategy.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
25
CAN I MAKE A DIFFERENCE? •
Agile is NOT all or nothing. Take advantage of the Agile 12 Step Program and build Agile into your organization step by step.
•
Take the needed time to identify technical debt and eliminate it.
•
Do not overlook the 10 Little Things that really make a difference.
•
Arrange for a qualified coach to help you get the ball rolling.
•
YOU CAN MAKE A DIFFERENCE!! Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
26
RESOURCES: •
Agile Dad •
The Definitive Agile Checklist - V. Lee Henson
•
The Agile 12 Step Program - V. Lee Henson
•
The 10 Little Things - V. Lee Henson
•
The Agile Project Management Survey - V. Lee Henson
•
State of Agile Survey - VersionOne
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
27
•
You now hold the keys to success!
•
You have been educated and empowered.
•
For more information about how your organization can embrace Agile Practices:
http://www.AgileDad.Com/ Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
28
THANK YOU! PLEASE FILL OUT A SURVEY! E-Mail =
[email protected] Twitter @AgileDad LinkedIn http://www.linkedin.com/in/leehenson/
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
29
Disclaimer:
The preceding presentation was intended as a Conference Presentation for the Software Test Professionals Conference, Spring Session in San Diego, California. No portion of this presentation should be copied, transferred, or reproduces without the expressed written consent of AgileDad. This presentation and any broadcast thereof is intended for the sole use of the STP Conference and its attendees. No other warranty or disclaimer stands or supersedes this one.
Copyright 2013 AgileDad LLC Licensed for Classroom Use Only.
30