SlideShare uma empresa Scribd logo
1 de 50
A New Model for Testing
@paul_gerrard
Paul Gerrard
paul@gerrardconsulting.com
gerrardconsulting.com
Programme Chair 2014
Helping clients transform their testing through
INNOVATION, COACHING and LEADERSHIP
Our CLIENTS
– Want to be agile rather than follow Agile dogma
– Have a pragmatic approach and are focused on delivery
– Want a solution that fits, not a badly fitting suit.
Typical tester job spec? (May 2014)
• 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.
Agenda
• Pressure to Change
• Three Innovations
• Where is this Leading?
• A New Model forTesting
• Consequences
• Shift-Left is More Important than Agile
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?
Three Innovations That
Are Driving Change
Being agile
Shift Left
Analytics
#1
Agile doesn’t work
but being agile might
Agile is no longer innovative.
Challenging Agile and being agile
might be
Is continuous delivery for you?
Agile doesn’t work?
• It works for some
• But many organisations have difficulties
• Mostly a cultural problem
– Requirements take months to elicit and agree
– Complex stakeholder relationships
– Stakeholders with ‘all the knowledge’ can’t be
spared to be the on-site customer/product owner
– Lack of confidence => big system/acceptance tests
• We are Agile but ...
Pragmatism rules (again)
• Pragmatic companies use the things that work
and discard those that don’t
• Let's be honest: Most are doing some form of
hybrid approach:
– Chaotic interfaces between Agile teams and
structured businesses
– TDD, BDD,ATDD, SBE today…
– Continuous Delivery, DevOps… tomorrow?
#2
Shift Left
Developers in test?
Testers in development?
Testing (testers?) everywhere
TestingBDD/Test-Driven)
Trusted
Requirements +
Stories
Shift left (redistributed testing)
Functional
Requirements
Build (+little testing) but
lots of rework
Testing (lots of
checking + bugs)
Trusted
Requirements +
Stories
Testing
SAVED
TIME
BDD/Test-Driven
Who is going to do all this?
BAs, Developers or Testers?
From traditional delivery…
… to Continuous Delivery
Deployment into
Production is not the
Same as ‘Going Live’
Release to production and test
environments on-demand
Go Live weekly/monthly/quarterly…
#3
Test Analytics
Analytics from production
Analytics from test
An opportunity for testing
Analysis Insight Decision
Development
and Testing
Production
Testing
IntroducingTest Analytics
“IntroducingTest Analytics”, Paul Gerrard:
http://gerrardconsulting.com/index.php?q=node/630
Julian Harty, "Symbiotic Relationships betweenTesting and SMAC":
http://blog.bettersoftwaretesting.com/2013/07/symbiotic-relationships-between-
testing-and-social-mobile-analytics-cloud-computing/
“The capture, integration and analysis of test and
production monitoring data to inform business and
software development decision-making”.
Data silos for test analytics
(an illustration)
Stakeholder Requirements Assurance (Production)
Application
Monitoring
Production
Environment
Monitoring
 Stakeholders
 Business Goals
and measures
 Stakeholder
Involvement/
Engagement
 Risk
 Requirements
 Stories/Feature
Descriptions
 Glossary of terms
andTerm Usage
 Processes
 Process Paths
(Workflows)
 ManualTests
 GeneratedTest
Code (unit,
integration,
system level)
 Application
Instrumentation
 AutomatedTest
Execution History
 Test Status
 Feature Code
Change History
 Application
Process Flows
 User Accesses/
Activities
 Feature Calls,
Response times
 Feature use cases
(data usage)
 Application
Alerts/Failures
 Database Accesses
 Database Content
 Production
failures
 System assets
 Resource Usage
Log
 Performance data
 System Events
 System Alerts/
Failures/Incidents
 Outages
Where is this leading?
If I knew that, I wouldn't be here...
Three development patterns
Structured
Agile Continuous
Autonomous
There aren't three
patterns
There are many
From high process to DIY process
• In the past, high process was seen to be the
technical solution to the software problem
• But technical solutions cannot solve human
problems
• Agile promised flexibility, but a lot of Agile is
really 'high process-in-the-small'
• True agility means a team can adapt or select
its process on-the-fly.
The old ways won't
work in the future
We need a New Model ofTesting
(free from logistics)
A New Model for
Testing
Don't throw stones.Yet.
I'm working on a refined version (with others).
Want to help/review?
Forget Logistics
(for the time being)
Document or not?
Agile v waterfall?
Planned v exploratory?
This technology v that technology?
ALLTesting is
Exploratory
We explore sources of knowledge ...
... to build test models ...
... that inform our testing.
AllTesting is Based on
Models
Examples of models
Models are innate, essential, human
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.
Exploration process
ExplorationDefinitions
specs/stories
Oracles
Sources
Design
Models
Test
Models
Enquiring
Challenging
Sources:
People, documents,
experience, system under test
Modelling
Test Models:
Can be documented
or mental models
Predicting
System
under test
Testing process
Testing
System
Under Test
Refining
Informing Applying
Interpreting
Test
Models
Revise the
System
More exploring Reporting
New Model Testing
29 page paper: http://dev.sp.qa/download/newModel
Some Consequences
Do developers and
testers think the same
way?
Similar processes, not thinking the same
Easier to embed testers in development
Developer testing will improve
Covers functional and
non-functional testing?
Ignoring logistics means we can have
the same foundational process for
ALL testing
(I think)
Relation to
TDD and BDD?
TDD is not testing
BDD is modelling using stories
Testing v Checking?
I submit that a Check is "a test that
can be applied by a human or tool"
But only humans can interpret
Test automation from a
different perspective
Automation uses different test models
Is that why automation efforts fail so often?
DeveloperTesting
The model works (for me)
Capabilities
Enquiring, Modelling, Predicting, Challenging
Informing,Applying, Interpreting, Refining
Reporting and Logging
• 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
Shift-Left is More
Important than Agile
Developers write code;
testers test because
developers can’t
No they don’t
Goal: End Manual
Feature Checking
Let the tools do it and
free people to do testing please!
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
Testers Need to Learn
How to Code
Some, perhaps many will have to
Testing is about
measuring achievement,
not quality
Align systems delivery with project
goals and risks and you’ve got a seat
on the board
Testers don’t own
testing anymore
Be aTestMaster
"Assurance through the lifecycle"
New Model Testing
changes what testers &
developers need to
learn
Roles of developers/testers become blurred
Perhaps they are not different disciplines after all?
Why have a tester certification?
The phase after
development is
REWORK, not Testing
Testing must align with development,
not compete with it or rescue it
A New Model for Testing
http://dev.sp.qa/download/newModel
@paul_gerrard
Paul Gerrard
paul@gerrardconsulting.com
gerrardconsulting.com
Programme Chair 2014

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Using Stories to Test Requirements and Systems
Using Stories to Test Requirements and SystemsUsing Stories to Test Requirements and Systems
Using Stories to Test Requirements and Systems
 
Test Cases are dead, long live Checklists!
Test Cases are dead, long live Checklists!Test Cases are dead, long live Checklists!
Test Cases are dead, long live Checklists!
 
Exploratory Testing Basics and Future
Exploratory Testing Basics and FutureExploratory Testing Basics and Future
Exploratory Testing Basics and Future
 
The Future of Testing
The Future of TestingThe Future of Testing
The Future of Testing
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?
 
The Pursuit of Quality - Chasing Tornadoes or Just Hot Air?
The Pursuit of Quality - Chasing Tornadoes or Just Hot Air?The Pursuit of Quality - Chasing Tornadoes or Just Hot Air?
The Pursuit of Quality - Chasing Tornadoes or Just Hot Air?
 
Introduction to Exploratory Testing
Introduction to Exploratory TestingIntroduction to Exploratory Testing
Introduction to Exploratory Testing
 
Inspection used in various ways
Inspection used in various waysInspection used in various ways
Inspection used in various ways
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing Explained
 
Business Story Method - Overview
Business Story Method - OverviewBusiness Story Method - Overview
Business Story Method - Overview
 
Leadership
LeadershipLeadership
Leadership
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
 
Maelscrum / Business Story Manager Overview
Maelscrum / Business Story Manager OverviewMaelscrum / Business Story Manager Overview
Maelscrum / Business Story Manager Overview
 
Exploratory Testing Explained and Experienced
Exploratory Testing Explained and ExperiencedExploratory Testing Explained and Experienced
Exploratory Testing Explained and Experienced
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing Explained
 
A Taste of Exploratory Testing
A Taste of Exploratory TestingA Taste of Exploratory Testing
A Taste of Exploratory Testing
 
Test analysis & design good practices@TDT Iasi 17Oct2013
Test analysis & design   good practices@TDT Iasi 17Oct2013Test analysis & design   good practices@TDT Iasi 17Oct2013
Test analysis & design good practices@TDT Iasi 17Oct2013
 
Tafline Murnane - The Carrot or The Whip-What Motivates Testers? - EuroSTAR 2010
Tafline Murnane - The Carrot or The Whip-What Motivates Testers? - EuroSTAR 2010Tafline Murnane - The Carrot or The Whip-What Motivates Testers? - EuroSTAR 2010
Tafline Murnane - The Carrot or The Whip-What Motivates Testers? - EuroSTAR 2010
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using Heuristics
 
Combinatorial Black-Box Testing with Classification Trees
Combinatorial Black-Box Testing with Classification TreesCombinatorial Black-Box Testing with Classification Trees
Combinatorial Black-Box Testing with Classification Trees
 

Semelhante a New model

Semelhante a New model (20)

! Testing for agile teams
! Testing for agile teams! Testing for agile teams
! Testing for agile teams
 
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
 
Agile testing
Agile testingAgile testing
Agile testing
 
Testaus 2014 -seminaari: Paul Gerrard. The Changing Role of Testers’.
Testaus 2014 -seminaari: Paul Gerrard. The Changing Role of Testers’.Testaus 2014 -seminaari: Paul Gerrard. The Changing Role of Testers’.
Testaus 2014 -seminaari: Paul Gerrard. The Changing Role of Testers’.
 
Testaus 2014: Paul Gerrard - The Changing Role of Testers'
Testaus 2014: Paul Gerrard - The Changing Role of Testers'Testaus 2014: Paul Gerrard - The Changing Role of Testers'
Testaus 2014: Paul Gerrard - The Changing Role of Testers'
 
Advancing Testing Program Maturity in your organization
Advancing Testing Program Maturity in your organizationAdvancing Testing Program Maturity in your organization
Advancing Testing Program Maturity in your organization
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Sanitized tb swstmppp1516july
Sanitized tb swstmppp1516julySanitized tb swstmppp1516july
Sanitized tb swstmppp1516july
 
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
 
A confused tester in agile world finalversion
A confused tester in agile world finalversionA confused tester in agile world finalversion
A confused tester in agile world finalversion
 
ISTQB agile tester exam - Conclusions about Certification
ISTQB agile tester exam - Conclusions about CertificationISTQB agile tester exam - Conclusions about Certification
ISTQB agile tester exam - Conclusions about Certification
 
2015 06-03 ti4 agile presented at ncs
2015 06-03 ti4 agile presented at ncs2015 06-03 ti4 agile presented at ncs
2015 06-03 ti4 agile presented at ncs
 
Tune Agile Test Strategies to Project and Product Maturity
Tune Agile Test Strategies to Project and Product MaturityTune Agile Test Strategies to Project and Product Maturity
Tune Agile Test Strategies to Project and Product Maturity
 
Agile testing
Agile testingAgile testing
Agile testing
 
Adapt your testing for Agile
Adapt your testing for AgileAdapt your testing for Agile
Adapt your testing for Agile
 
Java DevOps at Enterprise Scale
Java DevOps at Enterprise ScaleJava DevOps at Enterprise Scale
Java DevOps at Enterprise Scale
 
Dare to Explore: Discover ET!
Dare to Explore: Discover ET!Dare to Explore: Discover ET!
Dare to Explore: Discover ET!
 
Scrum plus – why scrum is not enough for successful delivery
Scrum plus – why scrum is not enough for successful deliveryScrum plus – why scrum is not enough for successful delivery
Scrum plus – why scrum is not enough for successful delivery
 
Digital Transformation, Testing and Automation
Digital Transformation, Testing and AutomationDigital Transformation, Testing and Automation
Digital Transformation, Testing and Automation
 
Agile Testing Days -Trends and future in testing 2017
Agile Testing Days -Trends and future in testing 2017Agile Testing Days -Trends and future in testing 2017
Agile Testing Days -Trends and future in testing 2017
 

Mais de TEST Huddle

Mais de TEST Huddle (20)

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- Accenture
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in Scrum
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional Tests
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test Work
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New Heights
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of Us
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger Enterprises
 
Is There A Risk?
Is There A Risk?Is There A Risk?
Is There A Risk?
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageAre Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test Coverage
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your Role
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
 
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk... Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 
Can virtualization transform your API lifecycle?
Can virtualization transform your API lifecycle?Can virtualization transform your API lifecycle?
Can virtualization transform your API lifecycle?
 
The world class webinar series
The world class webinar seriesThe world class webinar series
The world class webinar series
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

New model

  • 1. A New Model for Testing @paul_gerrard Paul Gerrard paul@gerrardconsulting.com gerrardconsulting.com Programme Chair 2014
  • 2. Helping clients transform their testing through INNOVATION, COACHING and LEADERSHIP Our CLIENTS – Want to be agile rather than follow Agile dogma – Have a pragmatic approach and are focused on delivery – Want a solution that fits, not a badly fitting suit.
  • 3. Typical tester job spec? (May 2014) • 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.
  • 4. Agenda • Pressure to Change • Three Innovations • Where is this Leading? • A New Model forTesting • Consequences • Shift-Left is More Important than Agile
  • 5. 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?
  • 6. Three Innovations That Are Driving Change Being agile Shift Left Analytics
  • 7. #1 Agile doesn’t work but being agile might Agile is no longer innovative. Challenging Agile and being agile might be Is continuous delivery for you?
  • 8. Agile doesn’t work? • It works for some • But many organisations have difficulties • Mostly a cultural problem – Requirements take months to elicit and agree – Complex stakeholder relationships – Stakeholders with ‘all the knowledge’ can’t be spared to be the on-site customer/product owner – Lack of confidence => big system/acceptance tests • We are Agile but ...
  • 9. Pragmatism rules (again) • Pragmatic companies use the things that work and discard those that don’t • Let's be honest: Most are doing some form of hybrid approach: – Chaotic interfaces between Agile teams and structured businesses – TDD, BDD,ATDD, SBE today… – Continuous Delivery, DevOps… tomorrow?
  • 10. #2 Shift Left Developers in test? Testers in development? Testing (testers?) everywhere
  • 11. TestingBDD/Test-Driven) Trusted Requirements + Stories Shift left (redistributed testing) Functional Requirements Build (+little testing) but lots of rework Testing (lots of checking + bugs) Trusted Requirements + Stories Testing SAVED TIME BDD/Test-Driven Who is going to do all this? BAs, Developers or Testers?
  • 12. From traditional delivery… … to Continuous Delivery
  • 13. Deployment into Production is not the Same as ‘Going Live’ Release to production and test environments on-demand Go Live weekly/monthly/quarterly…
  • 14. #3 Test Analytics Analytics from production Analytics from test An opportunity for testing
  • 15. Analysis Insight Decision Development and Testing Production Testing IntroducingTest Analytics “IntroducingTest Analytics”, Paul Gerrard: http://gerrardconsulting.com/index.php?q=node/630 Julian Harty, "Symbiotic Relationships betweenTesting and SMAC": http://blog.bettersoftwaretesting.com/2013/07/symbiotic-relationships-between- testing-and-social-mobile-analytics-cloud-computing/ “The capture, integration and analysis of test and production monitoring data to inform business and software development decision-making”.
  • 16. Data silos for test analytics (an illustration) Stakeholder Requirements Assurance (Production) Application Monitoring Production Environment Monitoring  Stakeholders  Business Goals and measures  Stakeholder Involvement/ Engagement  Risk  Requirements  Stories/Feature Descriptions  Glossary of terms andTerm Usage  Processes  Process Paths (Workflows)  ManualTests  GeneratedTest Code (unit, integration, system level)  Application Instrumentation  AutomatedTest Execution History  Test Status  Feature Code Change History  Application Process Flows  User Accesses/ Activities  Feature Calls, Response times  Feature use cases (data usage)  Application Alerts/Failures  Database Accesses  Database Content  Production failures  System assets  Resource Usage Log  Performance data  System Events  System Alerts/ Failures/Incidents  Outages
  • 17. Where is this leading? If I knew that, I wouldn't be here...
  • 20. From high process to DIY process • In the past, high process was seen to be the technical solution to the software problem • But technical solutions cannot solve human problems • Agile promised flexibility, but a lot of Agile is really 'high process-in-the-small' • True agility means a team can adapt or select its process on-the-fly.
  • 21. The old ways won't work in the future We need a New Model ofTesting (free from logistics)
  • 22. A New Model for Testing Don't throw stones.Yet. I'm working on a refined version (with others). Want to help/review?
  • 23. Forget Logistics (for the time being) Document or not? Agile v waterfall? Planned v exploratory? This technology v that technology?
  • 24. ALLTesting is Exploratory We explore sources of knowledge ... ... to build test models ... ... that inform our testing.
  • 25. AllTesting is Based on Models
  • 27. Models are innate, essential, human
  • 28. 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.
  • 29. Exploration process ExplorationDefinitions specs/stories Oracles Sources Design Models Test Models Enquiring Challenging Sources: People, documents, experience, system under test Modelling Test Models: Can be documented or mental models Predicting System under test
  • 30. Testing process Testing System Under Test Refining Informing Applying Interpreting Test Models Revise the System More exploring Reporting
  • 31. New Model Testing 29 page paper: http://dev.sp.qa/download/newModel
  • 33. Do developers and testers think the same way? Similar processes, not thinking the same Easier to embed testers in development Developer testing will improve
  • 34. Covers functional and non-functional testing? Ignoring logistics means we can have the same foundational process for ALL testing (I think)
  • 35. Relation to TDD and BDD? TDD is not testing BDD is modelling using stories
  • 36. Testing v Checking? I submit that a Check is "a test that can be applied by a human or tool" But only humans can interpret
  • 37. Test automation from a different perspective Automation uses different test models Is that why automation efforts fail so often?
  • 39. Capabilities Enquiring, Modelling, Predicting, Challenging Informing,Applying, Interpreting, Refining Reporting and Logging
  • 40. • 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
  • 42. Developers write code; testers test because developers can’t No they don’t
  • 43. Goal: End Manual Feature Checking Let the tools do it and free people to do testing please!
  • 44. 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
  • 45. Testers Need to Learn How to Code Some, perhaps many will have to
  • 46. Testing is about measuring achievement, not quality Align systems delivery with project goals and risks and you’ve got a seat on the board
  • 47. Testers don’t own testing anymore Be aTestMaster "Assurance through the lifecycle"
  • 48. New Model Testing changes what testers & developers need to learn Roles of developers/testers become blurred Perhaps they are not different disciplines after all? Why have a tester certification?
  • 49. The phase after development is REWORK, not Testing Testing must align with development, not compete with it or rescue it
  • 50. A New Model for Testing http://dev.sp.qa/download/newModel @paul_gerrard Paul Gerrard paul@gerrardconsulting.com gerrardconsulting.com Programme Chair 2014