to deploy or not-to-deploy - decide using tta's trend & failure analysis

54
TO DEPLOY, OR NOT TO DEPLOY? DECIDE USING TEST TREND ANALYZER (TTA) Anand Bagmar Test Practice Lead 1

Upload: anand-bagmar

Post on 05-Sep-2014

268 views

Category:

Software


0 download

DESCRIPTION

Here are the slides from my recent talks on "To Deploy or Not-To-Deploy - decide using TTA's Trend and Failure Analysis" More information available from my blog: http://essenceoftesting.blogspot.com/search/label/tta

TRANSCRIPT

Page 1: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

TO DEPLOY, OR NOT TO DEPLOY? DECIDE USING TEST TREND ANALYZER (TTA)

Anand Bagmar

Test Practice Lead 1

Page 2: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

@BagmarAnand

about.me/anand.bagmar

ABOUT ME

Page 3: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

WHAT DO YOU EXPECT FROM THIS SESSION?

Page 4: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

WHAT ARE THE CRITERIA FOR DETERMINING BUILD PROMOTION & RELEASE CANDIDATES?

Page 5: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

ORGANIZATION OBJECTIVE

Money / Value

Time

Quality

Page 6: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

REALITY IN ORGANIZATIONS

Page 7: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Test Automation

A PRACTICE THAT MAKES TEAMS SUCCESSFUL?

Page 8: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Test Automation

A PRACTICE THAT MAKES TEAMS UNSUCCESSFUL?

Page 9: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

What is Test Automation?

Page 10: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Automation – A Safety Net

Page 11: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Manual / Exploratory UI

Web Service

View

JavaScript

Integration

Unit

Time

Value

Cost

IDEAL TEST AUTOMATION PYRAMID

Business-facing Tests

Technology-facing Tests

Page 12: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

REALITY

Page 13: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

UI

Web Service

View

JavaScript

Integration

Unit

ICE-CREAM CONE ANTI PATTERN

Manual / Exploratory

Page 14: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Developers Test Pyramid QA Team Test Pyramid

Web Service

View

JavaScript

Integration

Unit

Manual / Exploratory

UI

Web Service

DUAL TEST PYRAMID ANTI-PATTERN

Page 15: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

How does your Test Automation Pyramid look like?

Page 16: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

CONTINUOUS INTEGRATION (CI)

”… is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible…."

- Martin Fowler, ThoughtWorks Chief Scientist http://www.thoughtworks.com/continuous-delivery

Page 17: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

CI PROCESS

Page 18: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

DASHBOARD

Page 19: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

SMALL TEAMS

19

Page 20: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

HOW ARE YOUR TEAMS STRUCTURED

Page 21: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Product 1 Product 2

Product 3 Product 4

Page 22: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 23: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

CONTINUOUS DELIVERY (CD)

… is the natural extension of Continuous Integration: an approach in which teams ensure that every change to the system is releasable, and that we can release any version at the push of a button. Continuous Delivery aims to make releases boring, so we can deliver frequently and get fast feedback on what users care about.

- Martin Fowler, ThoughtWorks Chief Scientist http://www.thoughtworks.com/continuous-delivery

Page 24: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

CONTINUOUS DELIVERY

Page 25: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

IS YOUR PRODUCT IS READY TO GO TO THE NEXT LEVEL?

How do you know?

Page 26: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

DOES ALL TESTS PASSING MEAN NO DEFECTS?

Page 27: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Test Trend Analyzer (TTA)

Page 28: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

TTA DEMO

Trend Analysis

Failure Analysis

Admin

Upload Data Dashboards

Page 29: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 30: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

TTA - TREND ANALYSIS

Pyramid View

Comparative Analysis

Test Execution Trends

Page 31: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 32: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 33: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 34: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

TTA - FAILURE ANALYSIS

Compare Runs

Failure Analysis

External Dashboards

Page 35: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 36: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 37: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 38: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Other features

38

Page 39: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

FOR DIFFERENT SUB – PROJECTS

Page 40: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

TEST STATUS FOR A SINGLE PROJECT

Page 41: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

FOR TECH-OPS / IT

Page 42: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

HOW TO USE TTA?

Page 43: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Page 44: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

HOW DOES IT WORK?

Page 45: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

COLLECT TEST RUN DATA IN TTA

Manual Upload

Automatic Upload

Page 46: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Job(s) Triggered

Run Tests

Run Tests

Run Tests

CI INTEGRATION

Page 47: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Test Execution Machine

CI Job Triggered

Clean Compile Setup Run Tests Return to CI

Test Execution Command

Page 48: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Test Execution Machine

Test Execution Command

CI Job Triggered

Clean Compile Setup Run Tests Return to CI

Send Test Results to TTA

Page 49: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

THE POWER THIS BRINGS TO THE TEAMS

Page 50: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

Test Execution Machine

Test Execution Command

Send Test Results to TTA

Ant  /  Maven  /  Gradle  /    Make  /  Rake  …  

xUnit  /  testNG  Java  /  C#  /  Perl  /  Python  /  

Ruby  …  

GO  /  Hudson  /  Jenkins  /  Bamboo  /  ..  

CI Job Triggered

Clean Compile Setup Run Tests Return to CI

Page 51: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

HOW CAN YOU HELP?

Page 52: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

FEATURES

Page 53: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

USE AND GIVE FEEDBACK

Page 54: To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis

[email protected] [email protected]

@BagmarAnand

about.me/anand.bagmar

THANK YOU