How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview...

19
© 2016 Cognizant How Can Testing Teams Play a Key Role in DevOps Adoption? June 3, 2016 Sujay Honnamane – QA Director @sujayh Rameshkumar Bar – Sr. Automation Architect @rameshbar

Transcript of How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview...

Page 1: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

© 2016 Cognizant

How Can Testing Teams Play a Key Role in DevOps Adoption?

June 3, 2016

Sujay Honnamane – QA Director @sujayh Rameshkumar Bar – Sr. Automation Architect @rameshbar

Page 2: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Session take away

• DevOps – Overview

• Challenges & Industry Trends

• Can testers lead DevOps adoption? - team’s story

• Continuous Integration & Testing Ecosystem – Tools & Techniques

• Intelligent Test Automation is Key

• Collaboration & team’s attitude is all that matters

Page 3: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

DevOps- OverviewDevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to accelerate release of applications

into production by sustaining continuous feedback and improvement across the software lifecycle

Continuous Integration &Testing –Integration of software testing with

development and operations for early feedback

Continuous Release and Deployment –for increased delivery speed and frequency

Continuous monitoring –Improve quality by monitoring performance

feedback loops

Collaborative Development –Increased collaboration between teams Develop

& Test

Release & Deploy

Monitor &

Optimize

Plan & Measure

Page 4: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Reality Check – Simplicity is highly overrated by Unicorns!

Image source : https://paimeiitguy.wordpress.com/2008/07/28/a-beacon-of-hope-for-the-keep-it-simple-stupid-way-of-working/

Page 5: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Challenges for horses today

Image source: http://legacyportfolio.co.uk/blog/2012/06/08/what-are-the-challenges-facing-corporate-occupiers-today/

Page 6: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

The Solution – One step at a time

Page 7: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

The beginning – first DevOps meeting

OPS

What in the world?

Dev

Product owner

QA

Page 8: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

First attempt to break the silos

Who cares? Deployment

is painful task, these folks won’t ever get it!

OPSQA Architect

Dev

Product owner

There is a better way!& QA can help!!

Oh Really?

Page 9: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

A start... Constructive discussion – testing gets Dev in alignment

QA Dev

Product owner

Someone is making sense!!

No kidding! We work hard to make everyone’s life easy

Hmm! We are listening!

OPS

Page 10: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Version Control

Test Team

CI Server(Jenkins)

Test Lab

Dev/QA/STOn-Demand Environment

Stakeholders

Continuous Integration &Testing – Ecosystem

Updated Automation

Scripts

Triggers Build Verification Tests Health Checks Smoke Tests Intelligent regression

Re

sult

s

Code Deployments in auto-

provisioned environment

Accessing Environments

Build verification Results to stakeholders through email

New User Stories /

Defect Fixes –Code Commit

AutoDetect Build

/Polling the latest code

(Build Pipeline)

Updated Automation

Scripts

Dev Team

Automated Build Creation

Automated Security Scan

Unit Test

Smoke Results

Critical Scenario Results

Regression ResultsStatic Code analysis

Build Quality In

Code Coverage analysis

Instant feedback on quality

Virtualized services Test Data Management (

Data provisioning) Infrastructure as code Cloud application

management

Test

ing

job

s

Continuous Integration & Testing

Production Deployment

Repeatable

Predictable

Reliable

Production Monitoring

Pro

du

ctio

n

Fee

db

ack

Page 11: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Level #1 - Regression Model

Page 12: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Level #2 – Flipping test pyramid

Unit Tests

Integration Tests

GUI driven system tests

GUI driven E2E tests

Unit Tests

API driven integration Tests

GUI driven system tests

Exploratory/E2E tests

Page 13: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Level #3 – Real-time dashboards for automation tests

• One source of truth for all types of tests running across the tools/environments/Platforms

• Scripts failures are analyzed within minutes

• Improved visibility further boosted Dev-Test-Opscollaboration

• Executive support on your side

Page 14: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Breaking the barrier – include Performance tests in CI

Unit tests (Junit)

Build Code(Maven)

Deploy CodeTo CI Environment

Smoke Tests

Functional /Regression Tests

Mark the build as failed & review failures

90% Tests Passed?

Commit code

Smoke Tests

Performance test results analysis (manual)

RepositoryWorking

Builds

No

Yes E2E BuildFlag =Y?

YesDeploy CodeTo Performance Environment

Performance Tests

Page 15: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Intelligent Test Automation is Key

Repository

Source code to test scripts mapping

Intelligent test automation takes the code coverage analysis to next level

Page 16: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

DevOps Dashboard

Page 17: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Can testers enable DevOps adoption? Yes, we can !

Tester

Page 18: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

Change is Difficult in the beginning..Messy in the middle & Gorgeous in the end – Robin Sharma

We did it!

Page 19: How Can Testing Teams Play a Key Role in DevOps Adoption? · 2019-11-27 · DevOps- Overview DevOps: Enterprise Capability for Continuous Integration & Delivery , enables teams to

19

THANK YOU