Top Banner
A New Model for Testing @paul_gerrard Paul Gerrard [email protected] gerrardconsulting.com Programme Chair 2014
33

A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Apr 04, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

A New Model for Testing

@pau

l_ge

rrard

Paul Gerrard [email protected]

gerrardconsulting.com

Programme Chair 2014

Page 2: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Agenda

• The Old Ways won't work in the future

• All Testing is based on models

• A New Model for Testing

• Tester Capabilities and Skills

• What next?

• Some Observations (themes that inspired this

work)

Page 3: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Typical tester job spec?

• Skills & Requirements – Thorough C# knowledge including Linq

– Good .Net experience including charting and winforms applications.

– Experience building and maintaining automated test systems

– Ability to interact with the developers to anticipate future needs

– Ability to influence to ensure good test procedures are developed and implemented

• Desirable Skills – Some knowledge of Java for mobile testing

– An interest in photography.

Page 4: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

What's happening?

• Stampede to mobile computing

• Big Data

• Internet of (Every)Thing, Pervasive Computing

• Continuous Delivery, DevOps

• (Test) Analytics, Data-Driven Development

• Shift-left, embedded testers, no test team

• Did you really think Agile was the last word?

Page 5: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Three development patterns

Structured

Agile Continuous

Autonomous

Page 6: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

There aren't three

patterns

There are many

Page 7: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

The old ways won't

work in the future

Page 8: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

All Testing is Based on

Models

Page 9: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Examples of models

Page 10: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Models are innate, essential, human

Page 11: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

A New Model for

Testing

A Work in Process

Page 12: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

ALL Testing is

Exploratory

We explore sources of knowledge ...

... to build test models ...

... that inform our testing.

Page 13: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Forget Logistics (for the time being)

Document or not?

Automated or manual?

Agile v waterfall?

Planned v exploratory?

This technology v that technology?

Page 14: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Judgement, exploring and testing

Testing (the system)

Our model(s) are adequate

Our model(s) are not adequate

Exploring (sources)

Judgement

Creates test models

Uses test models

We explore sources of knowledge to build test models that inform our testing

BTW – Do Developers explore the same way? I think so.

Page 15: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Exploration process

Exploration Definitions specs/stories

People (& you)

Sources

Require-ments

Test Models

Enquiring

Challenging

Sources: People, documents, experience, system under test

Modelling

Test Models: Can be documented

or mental models

Predicting

System under test

Page 16: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Testing process

Testing System

Under Test

Refining

Informing Applying

Interpreting

Test Models

Revise the System

More exploring Reporting

Page 17: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

New Model Testing

Paper: http://dev.sp.qa/download/newModel

Page 18: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Consequences of the model

• ALL technologies, methods and logistics

• Aligns with/supports (tentatively): – Waterfall, Agile, Continuous Delivery, TDD/BDD etc.

– The Context-Driven View

– Functional, (Possibly all) Non-Functional types

• A different perspective on: – "Testing v Checking"

– Developer Testing, Embedded Testers, Shift Left

– Test automation

– Skills, capabilities and Certification.

Page 19: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Capabilities

Enquiring, Modelling, Predicting, Challenging

Informing, Applying, Interpreting, Refining

Reporting and Logging

Page 20: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

New Model and Skills

• The 'New Model suggests that the core skills

of testers are somewhat different

– Somewhat different to those promoted by

'thought leaders'

– Very different to those promoted by the

certification schemes

• Of course interpersonal skills are, perhaps, the

most critical.

Page 21: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

• Analysis, enquiry and elicitation

• Modelling

• Creation of custom models, using

heuristics, guesses, brainstorming,

ideation, creative thinking

• Custom test design techniques

• Comparison of models, value, advantages,

disadvantages, compromises

• Identification, validation and use of

oracles

• Predicate logic and proof

• Hypothesis and inference

• Socratic method

• Rapid Review and Inspection techniques

• Test case design

• Test models and the meaning of coverage

• Testing as controlled experiment

• Observation, Note taking, recording

A very different skillset • Basic data analysis and statistics

• Decision-making with incomplete data

• Computer forensics

• Fault tree analysis

• Failure diagnosis

• Bug advocacy, triage processes and

negotiation

• Meaningful software and test metrics

• Visual presentation of data

• Reporting and presentation skills

• Understanding stakeholders

• Test analytics

• Risk management, risk-based testing and

decision-making

• Critical Thinking

• Interpersonal skills

• Dealing with uncertainty/fallibility

Page 22: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Testing Career Development (speculative)

Foundations

Specialist/Technical

Management

Strategic

Test Strategy Project Intelligence

Test Assurance

Exploration Forensics Interpretation

Scripting/ Programming

Test Automation Technical (Excel, SQL, OS utils etc)

Stakeholder management

Analytics & visualisation

Managing uncertainty

Critical Thinking

ISTQB etc...

Supplier Management

Test Process Management

Methodology

Page 23: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

People Skills for Better Business (courtesy of Susan Windsor)

Foundations

Specialist

Management

Strategic

Critical Thinking

Supplier Selection and Management

Stakeholder Identification

Creating Shared Goals

Collaborative Team Working

Managing Cultural Differences

Managing Challenging Conversations

Enhance Your Communication Style

Managing Self Assessment

Define Team Qualities and Competencies

Implementing Assurance

Page 24: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

What can we do with this?

• A broader tester skills framework?

– New syllabi

– New skills and training

– A competitive certification scheme? (No, thanks)

• Alignment with BDD, ATDD, TDD...

• Flexibility (agility) to cope with any dev/test

process?

Page 25: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

What Next?

The model needs better explanation,

examples, comparisons with existing

approaches

Page 26: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Some Observations

Some of the themes that inspired the

New Model and that it aims to

support

Page 27: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Shift-Left is More

Important than Agile

It's for everyone, not just small teams

Page 28: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Developers write code;

testers test because

developers can’t

No they don’t

Page 29: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Testing doesn’t just

apply to existing

software, at the end

We test systems, not software.

We test early, we test often but it

might not be called testing

Page 30: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Testers Need to Learn

How to Code

Some, perhaps many will have to

Page 31: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

Testers don’t own

testing anymore

Be a TestMaster

"Assurance through the lifecycle"

Page 32: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

The phase after

development is

REWORK, not Testing

Testing must align with development,

not compete with it or rescue it

Page 33: A New Model for Testing · Agenda •The Old Ways won't work in the future •All Testing is based on models •A New Model for Testing •Tester Capabilities and Skills

A New Model for Testing

THANK YOU!

@pau

l_ge

rrard

Paul Gerrard [email protected]

gerrardconsulting.com

Programme Chair 2014