Top Banner
Seven Best Practices for Accelerating Continuous Testing Marc Hornbeek Senior Solutions Architect
23

Best Practices for Accelerating Continuous Testing

Jan 22, 2018

Download

Technology

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: Best Practices for Accelerating Continuous Testing

Seven Best Practices for

Accelerating Continuous Testing

Marc Hornbeek

Senior Solutions Architect

Page 2: Best Practices for Accelerating Continuous Testing

2 Spirent Communications

“There is no continuous delivery

without testing”

Dev Ops

Page 3: Best Practices for Accelerating Continuous Testing

3 Spirent Communications

Fast CT is required to race

through the many test steps in

the pipeline from Pre-Flight

through to Delivery

Page 4: Best Practices for Accelerating Continuous Testing

4 Spirent Communications

CT infrastructure must

be stable and accurate

because test failures at

any point in the pipeline

cause delays or roll-

backs

Page 5: Best Practices for Accelerating Continuous Testing

5 Spirent Communications

Consequences of

poor CT practices

80% failure rate when

using current tools

IDC Fortune 1000 survey,

December 2014

Page 6: Best Practices for Accelerating Continuous Testing

6 Spirent Communications

Accelerated Continuous Testing

Best Practices Principles

Comprehensive

&

Results

Test fast

&

Don’t Stop

Powerful

Relevant

Page 7: Best Practices for Accelerating Continuous Testing

7 Spirent Communications

CT best practices are across the pipeline

“Shift Left”

Page 8: Best Practices for Accelerating Continuous Testing

8 Spirent Communications

Page 9: Best Practices for Accelerating Continuous Testing

9 Spirent Communications

Focus on customer relevant defects

not quantity of defects

“Quality is everyone’s Responsibility.”

Dr. W. Edwards Deming

Page 10: Best Practices for Accelerating Continuous Testing

10 Spirent Communications

Pre-Flight Team-work Design for CT

CT End-to-End Culture

Page 11: Best Practices for Accelerating Continuous Testing

11 Spirent Communications

CT Process design

Fault tolerant

Obfuscation

Intelligent dashboards

CT-Ready Infrastructure

Page 12: Best Practices for Accelerating Continuous Testing

12 Spirent Communications

CT-Ready Tools

Restful APIs

Cache and pipeline

Virtual and physical

Program agnostic

Large scale

Page 13: Best Practices for Accelerating Continuous Testing

13 Spirent Communications

CT Tools Integration

Pre-Flight

CI Tests

Integration

Regression

System

Deployment

Page 14: Best Practices for Accelerating Continuous Testing

14 Spirent Communications

Orchestrate Test Topologies

Physical and Virtual

Utilization

measurement

Topologies

Test Automation

Page 15: Best Practices for Accelerating Continuous Testing

15 Spirent Communications

Accelerate Test Execution

Powerful servers

Test design

Pipeline

Scale horizontally

Thresholds

Dynamic test schedules

Page 16: Best Practices for Accelerating Continuous Testing

16 Spirent Communications

Fast Relevant CT Analytics

Continuous Monitoring (CM)

Relevance

Dashboards, Alerts, logs,

thresholds

Aggregation

Snapshots and trends

Telescope for diagnostics

Page 17: Best Practices for Accelerating Continuous Testing

17 Spirent Communications

Case Study

360 developers, six sites

36 MLOC+, 100+ features

86 build targets

complex interdependencies

200+ topologies

12K test cases

80+ deployment packages

(physical and virtual) 1,280,000,000

test possibilities

Page 18: Best Practices for Accelerating Continuous Testing

18 Spirent Communications

The primary contributing

factor was CT and CM !

CT Case Results

Metric

Major release

(#months)

Minor release

(#weeks)

# Features

Defects

Integrations / day

Tests / day

Automated tests

After

3

2

150

10

100

10

85%

Before

6

4

113

1260

0.5

0.3

5%

Page 19: Best Practices for Accelerating Continuous Testing

19 Spirent Communications

Best practices tool Best Practices Assessment Tool

simplifies the assessment process.

Page 20: Best Practices for Accelerating Continuous Testing

20 Spirent Communications

Summary

7 CT best practices emphasize

speed, don’t stop,

comprehensive and relevant.

Benchmark against Best

Practices Blueprint and

DevOps Assessment.

Don't fall into the “do-CT-

yourself / NIH” trap!

“There is no continuous delivery

without testing”

Page 21: Best Practices for Accelerating Continuous Testing

21 Spirent Communications

www.spirent.com/clear

1) CT Blueprint white papers

2) CT eBook

3) CT Assessment Tool

Take-aways

http://www.spirent.com/go/AMR

Page 22: Best Practices for Accelerating Continuous Testing

22 Spirent Communications

How can Spirent help?:

Test tools

CT Orchestration

Lab Management

Professional Services

Page 23: Best Practices for Accelerating Continuous Testing

23 Spirent Communications

© Spirent Communications, Inc. All of the company names and/or brand names and/or product names and/or logos referred to in this document, in particular the name

“Spirent” and its logo device, are either registered trademarks or trademarks pending registration in accordance with relevant national laws. All rights reserved.

Specifications subject to change without notice.

spirent.com

Thank you

Seven Best Practices for Accelerating Continuous Testing

Marc Hornbeek

Senior Solutions Architect

[email protected]

Twitter: mhexcalibur