Operation Successful Patient Dead Margaret Dineen Encompass Testing

  • Slides: 42
Download presentation
Operation Successful Patient Dead Margaret Dineen, Encompass Testing S

Operation Successful Patient Dead Margaret Dineen, Encompass Testing S

Let’s Test Oz 2014 S Learning S Meeting new people S Growing S Sharing

Let’s Test Oz 2014 S Learning S Meeting new people S Growing S Sharing …

Sharing … S I’d like to share an “Experience” with you S Experience =

Sharing … S I’d like to share an “Experience” with you S Experience = what you get when you don’t get what you want!

Before we start … S Walkthrough of a project I worked on recently S

Before we start … S Walkthrough of a project I worked on recently S I’d like you to think about times you’ve found yourself in a similar situation and how you handled things S There will be bribes prizes for sharing!

Is this your experience? S Perfect, thoughtfully-written, complete requirements S Wonderful, supportive team –

Is this your experience? S Perfect, thoughtfully-written, complete requirements S Wonderful, supportive team – your manager bakes cakes for you S Set your own deadlines – why don’t you take twice that time for testing – just in case! S Daily group hugs S Saved the world by finding the right bugs at the right time S On time, under budget, no bugs in production S Customers LOVED the software S You got an award for being just so AWESOME

It is? S REALLY? ? S Can I get a job with you please?

It is? S REALLY? ? S Can I get a job with you please? !

Is the following closer to the truth? S Technical challenges S Interpersonal challenges S

Is the following closer to the truth? S Technical challenges S Interpersonal challenges S Questioned your sanity and your ability S Questioned everybody else’s sanity and their ability S Crazy stuff. . You want what? S Always prioritising and juggling based on limited time available

Let’s talk about one such project S Financial organisation S Authentication device S Background:

Let’s talk about one such project S Financial organisation S Authentication device S Background: change of manufacturer based on high failure rate of previous devices S New device, minimal changes to firmware, application or back-end system

Client mandate S We want you to run a basic test which we will

Client mandate S We want you to run a basic test which we will define (register device, login, perform transaction, logout) S We want you to run the test across 48 operating system/anti-virus combinations S We will provide the provisioned devices S We will provide the test environment S You have 10 days to complete testing

A bit of clarification… S Us: Who is going to provision these devices? Is

A bit of clarification… S Us: Who is going to provision these devices? Is provisioning part of the project scope? S Client: That’ll outside of the test scope; it’s a simple process and it’s all under control S Us: Ok and another thing – you’re asking us to test physical devices on a virtual environment, that seems a bit risky. How do we know the environment will give the same results as the real production environment? S Client: We know everything. Don’t worry your head about this stuff, we’ve got it sorted!

How hard could it be?

How hard could it be?

Our approach S Client expectations set up-front S Risks identified up-front ✔ ✔ S

Our approach S Client expectations set up-front S Risks identified up-front ✔ ✔ S Mission of testing clearly identified and agreed S Communication strategy agreed up-front S Hardware devices provided to us up front S Test environment provided to us up front ✔ ✔ ✔ S We ran the tests, we reported on the results ✔ ✔

So. .

So. .

Anything missing from the picture? S What did we miss? S What would you

Anything missing from the picture? S What did we miss? S What would you have done differently? S Any red flags yet? S SHARING TIME

Why the odd title? S Actual feedback from the project manager at the end

Why the odd title? S Actual feedback from the project manager at the end of the project S Yes – it did suck S BIG time!

Outcome … S I screwed up S I misread signals, ignored flags, crashed straight

Outcome … S I screwed up S I misread signals, ignored flags, crashed straight into icebergs and from client perspective, I failed to provide value S As a tester, not a good place to be S I thought I was doing a great job so I hadn’t expected such bad feedback

What failure felt like S Dark S Self-doubt S Confidence-crushing S Numerous replays of

What failure felt like S Dark S Self-doubt S Confidence-crushing S Numerous replays of situation and how I could have handled things differently S Why?

Reality S Once project was under way, each team was so focused on their

Reality S Once project was under way, each team was so focused on their own component delivery that communication ground to a halt (visualise hamsters running on a little wheel) S Testing was seen as “will be managed later” S Risks were not managed; they were outside of our control; small project risks had huge impact on testing S Hardware devices were incorrectly provisioned but we didn’t know that! S Test environment was unstable and outside of our control S Back-end system was unstable and outside of our control

Put on the brakes! S What were we thinking? ? ? S Why were

Put on the brakes! S What were we thinking? ? ? S Why were we thinking it? !

Test headspace at start S Clean slate S Everything new, everything is awesome S

Test headspace at start S Clean slate S Everything new, everything is awesome S Lots of questions; formed a conceptual picture of project S Clarity and understanding S Good communication; everyone has time to talk about doing things right S Relationships already starting to form S One big happy family working TOGETHER with a COMMON FOCUS

Test headspace during project S Must meet objectives – must get the job done

Test headspace during project S Must meet objectives – must get the job done S Time’s running out; must work faster S Just meet the objectives and report on findings S No time to dig too much into detail S BUT …

S Getting the job done was based on the conceptual picture formed at the

S Getting the job done was based on the conceptual picture formed at the start of the project S Was “getting the job done” still the best place to focus our effort? What should we have done?

Test headspace at end of project S It’s all bad S The sky is

Test headspace at end of project S It’s all bad S The sky is falling S The hardware is terrible S The software is shocking S Pull the plug. . Pull the plug

Client perspective at end of project S Testers always cry wolf, silly testers S

Client perspective at end of project S Testers always cry wolf, silly testers S PM: project delivered successfully, almost on time and almost on budget S What a hero!

Why such a discrepancy between stakeholder and tester? S What do you think? S

Why such a discrepancy between stakeholder and tester? S What do you think? S Where do you think it started to go wrong? S SHARING TIME

Where did it start to go wrong? S It started to go wrong when

Where did it start to go wrong? S It started to go wrong when I didn’t listen to my gut S Evidence found during testing would have meant something completely different if S We had really MANAGED our risks S We had been more confident about our misgivings S Exercise was so tightly time-boxed there was little time to react

The downhill slide S Not listening to my gut started a chain of events

The downhill slide S Not listening to my gut started a chain of events leading to failure on my part S Failure = S Σ(chain of little mishaps each of which could have been avoided) S No one catastrophic event S Once you’re on a downhill slide, the only thing you can really change is how quickly you get to the bottom

Why did I miss the obvious? S What do you think? S SHARING TIME

Why did I miss the obvious? S What do you think? S SHARING TIME

Some of the reasons for failure S Cognitive dissonance S Poor risk management S

Some of the reasons for failure S Cognitive dissonance S Poor risk management S Complacency – lost the “context” out of “context driven” S I didn’t take enough time to really understand the problem, the steps required to solve it and the steps required to understand what was going on around me and react appropriately

Does this sound familiar? S Cognitive dissonance S Mental stress or discomfort experienced by

Does this sound familiar? S Cognitive dissonance S Mental stress or discomfort experienced by an individual who holds two or more contradictory beliefs, ideas, or values at the same time, or is confronted by new information that conflicts with existing beliefs, ideas or values S Leon Festinger’s theory of cognitive dissonance – we strive for internal consistency. When dissonance is present, we try to reduce it and actively avoid information and situations which would likely increase the dissonance. S Let’s talk about aliens!

It also affects Dilbert!

It also affects Dilbert!

So how does this relate to the project? S Initial conceptual model had: S

So how does this relate to the project? S Initial conceptual model had: S Correctly provisioned devices S Stable environment S When bugs appeared, I couldn’t even see that these two areas might be the cause of the bugs – my mind was focused elsewhere S I was blind to the facts because my brain wanted to reduce the dissonance

Poor risk management S Risks don’t just disappear all by themselves S They need

Poor risk management S Risks don’t just disappear all by themselves S They need someone to love them: S Recognise them S Own them S Have pre-defined action plans to manage them S We only did the first step because we thought someone else had them all under control.

Complacency S I failed to remember that every project is different because the people

Complacency S I failed to remember that every project is different because the people dynamics are different S I can’t say I’m truly context-driven if I am regurgitating the same solution / process without first even recognising that this is a different problem to be solved S A half-baked attempt at CDT is easy but real CDT is hard!

The impact of failure on me as a person S Questioned my ability as

The impact of failure on me as a person S Questioned my ability as a tester S Questioned my desire to remain a tester S Wanted to run for the hills S I chose flight rather than fight S These feelings didn’t magically disappear overnight

What I learned S Project direction and objectives may be set at the start

What I learned S Project direction and objectives may be set at the start of a project but testing must be able to anticipate and react to changes in circumstances during the project S When I feel “that’s a bit odd” I need to question S Communication strategies must be agile S I need to step back, defocus and question my beliefs – they may be wrong

Attitude S If I’d had a different attitude, would I have gotten a different

Attitude S If I’d had a different attitude, would I have gotten a different outcome? S Does anyone have any insights as to how they react in situations like this? S Are there any tools you use? S SHARING TIME

Additions to my toolkit S Understand my scope of control S Regular defocussing; I

Additions to my toolkit S Understand my scope of control S Regular defocussing; I need to look at all the evidence; not just one piece S I need to ask “Am I adding value” and not be afraid to deviate from “getting the job done” S I need to listen to my gut and acknowledge distress signals S I need to ask questions; they might not be as stupid as I think

My enhanced toolkit (contd) S Self-evaluation / notebook of woe S How I feel

My enhanced toolkit (contd) S Self-evaluation / notebook of woe S How I feel during the project S Deviations from the plan or my conceptual model and why S How well is it going? S What can I do better? S Down-time S Gotcha’s S Every experience adds something to my tester’s toolset. The tools are always there for me to use but I need to have the wisdom look through my existing tools or to develop new ones depending on the CONTEXT.

It’s true that S Failure provides an opportunity for both learning and growth S

It’s true that S Failure provides an opportunity for both learning and growth S BUT S It’s not comfortable and it’s not easy. S Maybe it’s worth sharing our failures as often as we do our successes. It may help us cope better with the hard stuff and become better testers.

And finally … S Thank you for listening to my tale of woe.

And finally … S Thank you for listening to my tale of woe.

Questions/Comments

Questions/Comments