Top Banner
Do You Even (Need) To Automate (The GUI)? Matt Heusser 2017 Edition
26

Do you even need to automate the GUI?

Jan 21, 2018

Download

Software

Matt Heusser
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: Do you even need to automate the GUI?

Do You Even (Need) To Automate (The GUI)?

Matt Heusser 2017 Edition

Page 2: Do you even need to automate the GUI?

The Great Lifting Irony

Page 3: Do you even need to automate the GUI?

Setting Goals

VAPID goals:

Vague Amorphous Pie in the sky Irrelevant Delayed

Page 4: Do you even need to automate the GUI?

Setting Goals

VAPID goals:

Vague Amorphous Pie in the sky Irrelevant Delayed

Page 5: Do you even need to automate the GUI?

Sub-Optimization

Page 6: Do you even need to automate the GUI?

Sub-Optimization II

Page 7: Do you even need to automate the GUI?

Sub-Optimization III

Page 8: Do you even need to automate the GUI?

de Automation Delay

Page 9: Do you even need to automate the GUI?

What are estimates for?Five-Minute Provisioning

What about: * Continuous Integration yields builds * Create a test environment for a given build on-demand * Self-service * Within 5 minutes

Page 10: Do you even need to automate the GUI?

What are estimates for?Unit Tests - Test Driven Development

• Measure Twice, Cut Once • Higher First-Time Quality • Less Regressions • Small, easy to separate components • … but we can’t • That is a design problem • TDD Enables good design

Page 11: Do you even need to automate the GUI?

What are estimates for?Unit Tests - Test Driven Development

Page 12: Do you even need to automate the GUI?

What are estimates for?Unit Tests - Test Driven Development

Page 13: Do you even need to automate the GUI?

What are estimates for?Unit Tests - Test Driven Development

Page 14: Do you even need to automate the GUI?

What are estimates for?Unit Tests - Test Driven Development

Page 15: Do you even need to automate the GUI?

What are estimates for?Isolated Components and Service Contracts

Page 16: Do you even need to automate the GUI?

What are estimates for?Deploy by Component

Why deploy the entire app when you can: - Deploy a single web service? - Deploy a single web page? - Deploy a single PHP file?

Page 17: Do you even need to automate the GUI?

Continuous Monitoring

Page 18: Do you even need to automate the GUI?

Right Project 90%Right StoryRight DesignRight CodeRight TestingRight Deploys

Improve First-Time Quality

Page 19: Do you even need to automate the GUI?

Right Project 90%Right Requirements

90%

Right Design 90%Right Code 90%Right Testing 90%Right Deploys 90%

Improve First-Time Quality

Page 20: Do you even need to automate the GUI?

Activity FTQ CumulativeRight Project 90% 90%Right Requirements

90% 81%

Right Design 90% 73%Right Code 90% 66%Right Testing 90% 59%Right Deploys 90% 53%

Improve First-Time Quality

Page 21: Do you even need to automate the GUI?

Activity FTQ CumulativeRight Project 80% 80%Right Requirements

80% 64%

Right Design 80% 51%Right Code 80% 41%Right Testing 80% 33%Right Deploys 80% 26%

Improve First-Time Quality

Page 22: Do you even need to automate the GUI?

Activity FTQ CumulativeRight Project 70% 70%Right Requirements

70% 49%

Right Design 70% 34%Right Code 70% 24%Right Testing 70% 17%Right Deploys 70% 12%

Improve First-Time Quality

Page 23: Do you even need to automate the GUI?

Putting it all together

Deploys are local / micro Test environments are easy to create

Serious problems are rare Found quickly

local And easy to roll back

Page 24: Do you even need to automate the GUI?

Putting it all together

What problems does mass-inspection GUI Automation solve?

Do we have them anymore? …

Do you even need to automate the GUI?

Deploys are local / microRegression-Testing can be triaged

Serious problems are rareFound quickly

localAnd easy to roll back

Page 25: Do you even need to automate the GUI?

The Great Lifting Irony

Page 26: Do you even need to automate the GUI?

Solution: Tool Assisted Testing

Combine human and machine for the best

attributes of each