Managing with Metrics Webinar Shaun Bradshaw and Philip lew

18
Shaun Bradshaw & Philip Lew Managing with Metrics The Saga of a Test Effort

description

Webinar recording from February 6 with Shaun Bradshaw and Philip Lew covering using the S-curve to manage a test effort. Some insights into metrics in general, how to make interpretations and how not to.

Transcript of Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Page 1: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Shaun Bradshaw & Philip

Lew

Managing with Metrics The Saga of a Test Effort!

Page 2: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

XBOSoft info

•  Founded in 2006 •  Dedicated to software quality

•  Software QA consulting •  Software testing services

•  Offices in Santa Clara,CA Beijing, Oslo and Amsterdam

Page 3: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

About the Speakers

Shaun Bradshaw VP Consulting Services Zenergy Technologies

Philip Lew CEO and Founder XBOSoft

Page 4: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

The Metric

Page 5: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

What is Measurement?

•  �Measurement is the process by which numbers or symbols are assigned to attributes of entities in the real world in such a way as to characterize them according to clearly defined rules.��[1]

•  �Measurement is the empirical, objective assignment of numbers, according to a rule derived from a model or theory, to attributes of objects or events with the intent of describing them.��[2]

Page 6: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Rayleigh Cumulative Distribution

•  �In probability theory and statistics, the Rayleigh distribution is a continuous probability distribution. As an example of how it arises, the wind speed will have a Rayleigh distribution if the components of the two-dimensional wind velocity vector are uncorrelated and normally distributed with equal variance. The distribution is named after Lord Rayleigh.�[1]

What is the Rayleigh Cumulative Distribution?

Page 7: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Rayleigh Cumulative Distribution

•  Test execution starts slowly as the team works through configuration issues and major blocking defects.

•  Once the initial issues are resolved a larger variety of tests can be executed, increasing execution velocity.

•  As testing nears release, there are fewer tests to be executed and only a few defects remain outstanding, leveling out the speed of execution.

Why does it have an �S� shape?[2]

Page 8: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Data Requirements

•  The curve can be tracked for two main purposes with similar data requirements: –  Test Execution Progress

•  Total tests to be executed •  Total number of tests in a �Passed� state •  Total number of days in the test effort

–  Application Stability Tracking •  Total tests to be executed •  Historical fail rates (to derive the anticipated number of

failures) •  Total number of failures •  Total number of days in the test effort

What data is required to generate the curve?

Page 9: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

The Graph

Page 10: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Actual vs Theoretical

By plotting the actual cumulative number of passed tests and comparing it to the theoretical curve we are able to identify potential issues and make adjustments to the effort ensuring testing is as successful as possible.

Page 11: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

The Saga

Page 12: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

•  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

Interpreting the Curve

Page 13: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Day 1

Interpreting the Curve

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

Page 14: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

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 execut- ing high priority tests first.

Interpreting the Curve

Day 5

Page 15: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

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. Devel- opment indicates the custom manu- facturing issue will be corrected by the end of the week and VAT should be correct- ed as well.

Interpreting the Curve

Day 10

Page 16: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

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.

Interpreting the Curve

Day 15

Page 17: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Questions

Page 18: Managing with Metrics Webinar Shaun Bradshaw and Philip lew

Follow: @XBOSoft Questions: [email protected]

408-350-0508 Follow: @Zenergytechnologies

Questions: 877.375.7041