workshop : organisational testing essentials

29
WORKSHOP: ESSENTIALS OF ORGANISATION TESTING applying software testing to organisations Mike Sutton@SSQTB. Malaga. 2017

Upload: mike-sutton

Post on 11-Apr-2017

18 views

Category:

Business


0 download

TRANSCRIPT

Page 1: Workshop : organisational testing essentials

WORKSHOP: ESSENTIALS OF

ORGANISATION TESTINGapplying software testing to organisations

Mike Sutton@SSQTB.

Malaga. 2017

Page 2: Workshop : organisational testing essentials

Startup Founder. Partner & Practitioner“I help technology companies become more

effective at meeting their business goals by applying simple and effective tools to reduce risk, increase

joy, create knowledge and get good stuff shipped.”

23 11 ~200 ~2200years in

techyears as a

coachteams helped

people supported

Helping teams and individuals build resilience, their own good

habits and responsibly own their working process

Helping organisational leaders develop modern, human centric strategies for knowledge work

based industries

Spark Communities of Learning

Advise management teams and executives

Mentor agile teams and their support structures

I help to bring focus on the need for continuos learning within and

outside practice. For competence and joyful fulfilment

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Mike SuttonAgile Coach and Improvement Partner

“I help technology organisations become more effective in meeting their business goals by applying simple and effective tools - that reduce risk, increase value and create knowledge - and by nurturing a culture of open and joyful collaboration.

Page 3: Workshop : organisational testing essentials

Leave prepared.

UserTypes to explore users perspectives and needs

Use BDD to write behaviour tests

Learn how to craft an organisation purpose

Use a variation of Impact Mapping to understand the ‘big picture’

WHY ARE YOU HERE?

Page 4: Workshop : organisational testing essentials

MAPPING CONTEXT

Page 5: Workshop : organisational testing essentials

CONTEXT MAPPINGcontext = the relevant bits, the big picture, the circumstances.

The events, actions, interactions, actors, risks and opportunities around a given situation

EnablersRisks and UncertaintiesStakeholders

Interactions

Page 6: Workshop : organisational testing essentials

user type = a grouping of users that use a system in similar ways, have similar needs and expectations of the system

New Employee

any employee who has joined the

organisation in the last 1 month

Exiting Employee

any employee who is leaving in the next 1-2

weeks

Employee

any one who works for the organisation

Shareholder

any entity that owns a share of the organisation

Page 7: Workshop : organisational testing essentials

EXERCISE1. Form your group and pick one of the following organisations to workshop:

The Catholic Church,

Apple,

Endesa,

The Government of Spain,

SSQTB,

Any other organisation

2. Create a context map of your chosen organisation:

What does it do?

What does it need to do what it does?

Which user types does it interact with, what are the nature of the interactions, where are the risks?

3. Review.

Page 8: Workshop : organisational testing essentials

CHARTERING PURPOSE

Page 9: Workshop : organisational testing essentials

Purpose

Users

Assertions

Scenarios & tests

ORGANISATION TESTING MAP

(USING A VARIATION IMPACT MAPPING)

Page 10: Workshop : organisational testing essentials

S.M.A.R.T + DEBONO’S 6 HATS

Specific

Measurable

Achievable

Reasonable

Testable

Page 11: Workshop : organisational testing essentials

EXERCISE - CHARTERING PURPOSE

1. In your group, come up with as many objectives for the organisation in 5 minutes. Target is > 7.

2. For each one do 6-Hat type exercise to make it S.M.A.R.T

3. For 3 -5 of the SMARTest objectives, describe who/what/how you can validate each one.

4. Initialise your Organisation Testing Map with the SMARTest 3 - 5 objectives.

5. Review.

Page 12: Workshop : organisational testing essentials

EXPLORING USERS & NEEDS

Page 13: Workshop : organisational testing essentials

As an employee, I need my employer to provide a safe working environment, so that I am able to

work safely and productively

As a new employee, I expect my employer to be solvent, so that I can

get paid at the end of the month.

As a new employee, I expect my employer to make it easy to get

onboard, so I can be productive as soon as possible.

Needs & Expectations

Page 14: Workshop : organisational testing essentials

EXERCISE - EXPLORE USERS

1. Review your context map, extract 2-4 users with the strongest interactions with your organisation.

2. For each user, try to find 1-3 needs/expectations they they have for your organisation. Test each for reasonable-ness.

3. Consider how you might validate that these are valid

4. Try and connect these needs back to the items in your ‘purpose’.

5. Add your Users (and needs) to your Organisation Testing Map

6. Review.

Page 15: Workshop : organisational testing essentials

MAPPING ASSERTIONS

Page 16: Workshop : organisational testing essentials

As a new employee, I expect my employer to make it easy to get onboard,

so I can be productive as soon as possible.

assertion = a verifiable statement of fact, belief or intent

User Needs and Expectations Possible AssertionsFor new employees, a laptop and necessary system access is available at the their on their

first day.

For new employees, a temporary pass is issued on

their first day

For new employees, a permanent pass is issued within

a week

Page 17: Workshop : organisational testing essentials

EXERCISE - MAKE ASSERTIONS

1. Looking at the users and their needs, consider each user in turn - what assertion can the organisation make either about how it currently meets each need OR how it will meet each need.

2. Test each assertion for reasonable-ness (use S.M.A.R.T)

3. Put the most reasonable assertions on your Map.

4. Review.

Page 18: Workshop : organisational testing essentials

CREATE SCENARIOS AND FORMULATE

TESTS

Page 19: Workshop : organisational testing essentials

BDD IN ~7 MINUTES

Page 20: Workshop : organisational testing essentials
Page 21: Workshop : organisational testing essentials

BDD is a technique to help business people and technical people talk about customer needs by

example using natural language.

Together they create specifications of how the system should behave before anything is built.

The specifications are then directly used to build the software to satisfy the needs AND to validate that

what was built is what was requested.

Page 22: Workshop : organisational testing essentials

Banking users can open the appThe Feature/Assertion

A context/use case

The starting state

The action/inputs

The verifiable behaviour

Scenario 1 I can open the Investments App on my iPhone

Given I have an iPhone running iOS 8 and I am on the home screenand I have the ‘Investments’ icon

When I click the ‘Investments’ iconThen I can see the Splash Screen

and a welcome message.

Page 23: Workshop : organisational testing essentials

Specifications are automatable

Page 24: Workshop : organisational testing essentials

Scenario 1 I can get access to the building and all the spaces I am permitted to access

Given I have just joined the companyAnd I do not have prior access

When I arrive on my first dayThen I can have a pass that lets me into the

building.And I can use the pass to access the bathroom

As a new employee, I expect my employer to make it easy to get onboard,

so I can be productive as soon as possible.

For new employees, we issue a working temporary pass on their first dayThe Feature/Assertion

A context/use case

The starting state

The action/inputs

The verifiable behaviour

Page 25: Workshop : organisational testing essentials

EXERCISE - SCENARIOS AND TESTS

1. For each of the assertions you have made about the organisation, consider 1 - 3 scenarios that may apply to each assertion.

2. Pick 1-3 specifications and devise a test for each.

3. Add the scenarios and the tests to the map.

4. Review.

Page 26: Workshop : organisational testing essentials

REVIEW

Page 27: Workshop : organisational testing essentials

WHAT HAVE WE LEARNED?

WHAT WAS STRANGE OR TRICKY?

WHAT WAS SURPRISING/ENLIGHTENING?

Page 28: Workshop : organisational testing essentials

WHAT NEXT?Improve this approach. The goal

doesn’t change, the means can.

Stay in touch with me and each other

I would really like to hear how this is going.

Join the slack group:

https://improvework.slack.com/

Whatever you do

Do not Do Nothing.

Start.

Get more from the world of work

Page 29: Workshop : organisational testing essentials

THANK YOUI’m doing a workshop on

how to practically test your organisation.

Join me. I’ll show you how.

@mhsuttonhttp://mhsutton.me