Practical Metrics for Managing and Improving Software Testing

Similar documents
An Introduction to. Metrics. used during. Software Development

Earned Value. Valerie Colber, MBA, PMP, SCPM. Not for duplication nor distribution 1

All of these circumstances indicate that the world of tomorrow is as different as today s water utility business is from that of yesteryear.

CUT COSTS, NOT PROJECTS

Quality Management of Software and Systems: Continuous Improvement Approaches

Qlik UKI Consulting Services Catalogue

Smarter Balanced Assessment Consortium. Recommendation

Managing Agile Projects in TestTrack GUIDE

Leading Practices in Business Transformation

Integrated methodology for testing and quality management.

Aligning Correct and Realistic Performance Testing with the Agile Development Process

Strategic Supply Chain Management The five disciplines for top performance. Food & Consumer Products of Canada Webinar Toronto, February 24, 2014

Transitioning Your Software Process To Agile Jeffery Payne Chief Executive Officer Coveros, Inc.

Strategic HR Partner Assessment (SHRPA) Feedback Results

THE ADVANTAGES AND DISADVANTAGES OF STRATEGIC MANAGEMENT

Measuring the effectiveness of testing using DDP

The views expressed in this publication do not necessarily reflect the official views of the Asian Productivity Organization (APO) or any APO member.

Role Reporting Information. Role Family Analyst (Why the family exists and how it adds value to EnergyAustralia)

Project Selection Guidelines

Scrum Methodology in Product Testing : A Practical Approach

Guide to Successful Program Management

GQM + Strategies in a Nutshell

SmartBear Software Pragmatic Agile Development (PAD) Conceptual Framework

Powerful ways to have an impact on employee engagement

Chapter 9 Basics of Enterprise Reporting. Fundamentals of Business Analytics RN Prasad and Seema Acharya

Maximizing the Effectiveness of Sales Training

EFFECTIVE STRATEGIC PLANNING IN MODERN INFORMATION AGE ORGANIZATIONS

Sales & Operations Planning Process Excellence Program

Technology. Accenture Application Testing Services. Embedding quality into the application development life cycle

TEST MANAGEMENT SOLUTION Buyer s Guide WHITEPAPER. Real-Time Test Management

The Framework for Quality Assurance

QAD Mobile Field Service (MFS) Demonstration Guide. May 2015 EE2015 / MFS 3.7

Essential QA Metrics for Determining Solution Quality

Measurement and Metrics Fundamentals. SE 350 Software Process & Product Quality

Using the Leadership Pipeline transition focused concept as the vehicle in integrating your leadership development approach provides:

Goal Question Metric (GQM) and Software Quality

The Role of Controlled Experiments in Software Engineering Research

Overview of: A Guide to the Project Management Body of Knowledge (PMBOK Guide) Fourth Edition

Moderator: Albert Jeffrey Moore, ASA, MAAA. Presenters: Albert Jeffrey Moore, ASA, MAAA Kelly J. Rabin, FSA, MAAA Steven L. Stockman, ASA, MAAA

Module 2: Introduction to M&E frameworks and Describing the program

Issues in Internet Design and Development

How to achieve excellent enterprise risk management Why risk assessments fail

Key Insight 5 Marketing Goals and Objectives You Should Set. By WalkMe

Case Study. We are growing quickly, and Saba is key to that successful growth.

The Journey to Legal Project Management Software at Sutherland Asbill & Brennan By Jennifer Parker and Monica Ulzheimer

Community Partnerships Strategic Plan

The Contract Scorecard

QA & Test Management. Overview.

The Definitive Guide to Shift Scheduling. From best practices to inside tips, explore how to become a shift scheduling expert

Why are PMO s are Needed on Large Projects?

Empirical Software Engineering Introduction & Basic Concepts

ORACLE PROJECT PLANNING AND CONTROL

The Thinking Approach LEAN CONCEPTS , IL Holdings, LLC All rights reserved 1

Testing Introduction. IEEE Definitions

Global Software Update Rollout: Global Learning Management System

Central Agency for Information Technology

Shorten release cycles by bringing developers to application lifecycle management. Business white paper for application team professionals

Florida s Plan to Ensure Equitable Access to Excellent Educators. heralded Florida for being number two in the nation for AP participation, a dramatic

Internal audit strategic planning Making internal audit s vision a reality during a period of rapid transformation

Scrum: A disciplined approach to product quality and project success.

Section 2 - Key Account Management - Core Skills - Critical Success Factors in the Transition to KAM

Oral Defense of the Dissertation

Operational Excellence through Efficient Software Testing Metrics

Course Overview Lean Six Sigma Green Belt

Lina khalid Ahmed Department of Software Engineering Zarqa University Amman, Jordan

Best Practices in Dashboard and Scorecard Design. Catie Sirie Brett Olmstead

Team Dynamics in Process Simplification. Introduction to Process Improvement Slide 1

HR Business Consulting Optimizing your HR service delivery

Supplier Scorecard Handbook

How To Measure Quality

ISTQB Foundation Sample Question Paper No. 6

SocrateBI. Functionality overview

Microsoft Office Project Standard 2007 Project Professional April February 2006

OPTIMUS SBR PROCESS IMPROVEMENT. Streamline your outdated process for maximum efficiency. CHOICE TOOLS. PRECISION AIM. BOLD ATTITUDE.

U.S. Postal Service s DRIVE 25 Improve Customer Experience

Microsoft Dynamics NAV

Using Measurement to translate Business Vision into Operational Software Strategies

ASAP Certification Examination Preparation Guide

Executive Master's in Business Administration Program

Strategic Supply Chain Management. Medical Device Supply Chain Council 1 October 2013

The Standard for Portfolio Management. Paul E. Shaltry, PMP Deputy PM PPMS ( ) BNS02

TOOL. Project Progress Report

Dashboards as Easy To Use as Amazon

Software Process Improvement Software Business. Casper Lassenius

Chapter 8 Measures, Metrics, KPIs, and Performance Management

Support Services Evaluation Handbook

TOOL. Project Progress Report

IMPLEMENTING SCRUM. PART 3 of 5: TRAINING YOUR NEW SCRUM TEAM. Designed by Axosoft, creators of the #1 selling Scrum software.

Designing a Customized E-learning Solution for a Worldwide IT Company

Transcription:

Practical Metrics for Managing and Improving Software Testing Presented By: Shaun Bradshaw shaun.bradshaw@zenergytechnologies.com Slide 1

Part 1 Test Metrics Ten key metrics testers should track One bonus metric Part 2 -GQM Aligning test metrics with business goals Defining meaningful metrics Part 3 S-Curve Plotting the test execution effort Managing the effort with metrics Agenda Slide 2

Test Metrics Slide 3

Test Metrics - Intro All testers track some type of metrics Common metrics include: Number of requirements to test - by function - by priority Number of test cases -created -executed - passed - failed Number of defects - by severity - by status Slide 4

Test Metrics - Intro These measurements are adequate, but require more context to be useful Test metric context occurs when multiple measures are used together (formulas) Test metrics must provide actionable information to be useful Slide 5

Test Metrics Why Track? Why are test metrics important? Improvement comes from understanding Answers questions important to our development process* Which areas have the most defects? How long does it take to repair defects? Which areas have the highest re-work rates? *Sample questions from https://wiki.mozilla.org/qa:metrics%26coverage Slide 6

Test Metrics 2 Purposes Slide 7

Test Metrics 10 Key Metrics Slide 8

Test Metrics - Details By: Component, Tester, Priority By: Component, Priority Slide 9

Test Metrics - Details By: Component, Team By: Component, Team Slide 10

Test Metrics - Details By: Component, Team By: Component, Team Slide 11

Test Metrics - Details By: Component, Priority, Severity By: Component, Team, Severity Slide 12

Test Metrics - Details By: Component, Team By: Component, Team, Severity Slide 13

Test Metrics - Details By: Component, Team, Tester, Severity, Phase/Iteration By: Component, Team, Tester Slide 14

Test Metrics - Bonus Quality Index Metric Index Weight Max 1st Run Failures 1 50% 100% 1st Run Failures 2 50% 75% 1st Run Failures 3 50% 50% 1st Run Failures 4 50% 25% 1st Run Failures 5 50% 10% Sev 1 Defects 1 35% 100% Sev 1 Defects 2 35% 50% Sev 1 Defects 3 35% 30% Sev 1 Defects 4 35% 20% Sev 1 Defects 5 35% 10% Bad Fixes 1 15% 100% Bad Fixes 2 15% 75% Bad Fixes 3 15% 50% Bad Fixes 4 15% 25% Bad Fixes 5 15% 15% Slide 15

Test Metrics Summary The metrics shown above provide a strong starting point for any organization eager to start a test measurement program. The next step must ensure tracked metrics fully align with business goals Slide 16

Goal / Question / Metric Slide 17

Slide 18 GQM - Intro Goal (Conceptual) Define what the organization wishes to accomplish relative to products, processes, and resources Question (Operational) Used to understand how to meet the goal and determine quality Metric (Quantitative) Set of data associated with questions to answer them quantitatively Benefit Ensures test metrics align with organizational goals and provide important, meaningful, and actionable information

GQM - Illustration Goal 1 Goal 2 Goal 3 Question 1 Question 2 Question 3 Question 4 Question 5 Metric 1 Metric 2 Metric 3 Metric 4 Metric 5 Metric 6 Metric 7 Slide 19

Goals GQM - Example Identify components and files that require more community support Reduce the number of feature bugs Questions Which areas have the most defects? How long does it take to repair defects? Which areas have the highest re-work rates? Slide 20

Metrics GQM - Example Trend graphs of coverage (all bugs filed) Trend graphs of coverage (all bugs fixed) All bugs : Filed Vs Confirmed by SEV or PRI Filed vs Confirmed is when a volunteer finds and files a bug, but it stays unconfirmed with respect to developers until it has gone through triage and been confirmed. All bugs : NEW Vs FIXED by SEV or PRI The NEW vs FIXED provides the mean time to fix a bug and helps to develop heuristics on the bug fix capacity of a given group. Example from https://wiki.mozilla.org/qa:metrics%26coverage Slide 21

GQM - Activities Slide 22

GQM - Activities Slide 23

GQM - Activities Slide 24

GQM Key Practices Slide 25

GQM Plan Contains each measurement goal and its corresponding questions and metrics Measurement Plan Defines the base measures, derived metrics, and indicators identified in the GQM Plan Establishes procedures for collecting and calculating the metrics Analysis Plan GQM Deliverables Documents the methods to analyze, aggregate and present metrics information in a meaningful way to the stakeholders May be documented as a dashboard Slide 26

GQM Deliverables Slide 27

GQM Deliverables Slide 28

GQM Practice Use one of the following business goals to determine questions and metrics from a test perspective: Slide 29

GQM Summary The GQM method of metrics development ensures that test metrics align with what s important to the organization By accounting for business goals when framing our metrics we make our group more valuable and better able to exact changes deemed useful to the organization as whole Once you have your metrics in place, its time to use them Slide 30

S-Curve Slide 31

S-Curve - Intro Slide 32

S-Curve - Intro Slide 33

S-Curve Formula Slide 34

S-Curve - Theoretical Theoretical curve for a 15 day test effort with 100 tests to be executed. Slide 35

S-Curve - Actual By plotting the actual cumulative number of tests passed and comparing it to the theoretical curve we are able to identify potential issues and make adjustments to the effort to ensure testing is as successful as possible. Slide 36

S-Curve - Example Background Best-in-class manufacturer is nearing the end of a 3-year implementation of a highly-configurable ERP package Prior to release of the Global Template to the first manufacturing market (Asia), the team chose to execute a full regression of the following types of tests: Functional executed and validated by single tester End-to-End executed and validated by multiple testers Accounting Process Flows executed and validated by multiple testers Slide 37

S-Curve - Example Team No professional testers 30-40 SMEs in the areas of: Supply Chain Planning, Supply Chain Management, Manufacturing, Operations, Sales (divided by product category), Accounting, etc. Test effort Complete manual test execution of 370 E2E, 390 functional, and 600 process flow test cases in 15 days Daily stand-up held to review metrics and adjust test execution strategy Slide 38

S-Curve - Example The following are snapshots of the S-Curve throughout the test effort with an interpretation and directions provided based on analysis of the curve and other information available. Slide 39

Day 1 S-Curve - Example Good start, as expected. Since this is a regression test effort most environmental issues should be taken care of, as well as the few, if any major blocking issues Slide 40

Day 3 S-Curve - Example Pass rate proves higher than anticipated by the S-curve, but is explained by it being a regression test. Few process flows have been completed, but this was anticipated because the accounting group is finalizing end-of-quarter results. Slide 41

Day 5 S-Curve - Example Pass rate at this point indicates a possible early completion. Process flow execution and passes have been high since the accounting group shifted resources to test execution. The best news is that the team is about 2 days ahead of schedule. Manager verifies with team that they are executing high priority tests first. Slide 42

Day 7 S-Curve - Example The team is unable to keep up with the steep rise in test case passes indicated by the theoretical curve. An issue with custom manufacturing has been discovered and is being investigated. This issue impacts the team s ability to execute about 30 functional and 50 E2E tests. Redirected team to focus on process flows. Slide 43

Day 10 S-Curve - Example Execution has become anemic. Accounting is not completing process flow validations because of issues with taxes and a known problem with VAT. Next week is focused on defect correction and re-testing. Development indicates the custom manufacturing issue will be corrected by the end of the week and VAT should be corrected as well. Slide 44

S-Curve - Example Day 11 (after 1 week dedicated to defect corrections) A solution was determined for the custom manufacturing issue, but implementation is not complete. VAT remains a problem also. The team has executed nearly all possible tests not related to known issues. Asked team to queue up data for tests that must be executed once solutions are implemented. Slide 45

Day 15 S-Curve - Example Although the team did not achieve 100% completion, fewer than 40 tests were outstanding. Furthermore, specific acceptance criteria were established prior to test execution and all criteria were met or exceeded. Slide 46

S-Curve Summary Using the S-Curve allows the test manager to make necessary adjustments to the test effort based on a realistic projection of how the test activities should go I have used this graph successfully manage test efforts over the last 10 years and it is one that I highly recommend implementing Slide 47

Questions Slide 48

References Basili, Victor, Gianluigi Caldiera, and H. Dieter Rombach. The Goal Question Metric Approach. 1994. 27 July 2009. <ftp://ftp.cs.umd.edu/ pub/sel/papers/gqm.pdf> Goal-Question-Metric (GQM) Approach Software Tech News. Vol. 12 No. 1. April 2009. 27 July 2009. <http://goldpractices.com/ practices/gqm>. Slide 49