SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Test Automation in Agile
2
Agenda
• Capgemini’s World Quality Report on Automation
• Evolution of business models and IT ecosystem
• QA and Testing in the agile world
• Agile and test automation
• Challenges in Agile automation
• In conclusion …
3
Connect with Capgemini:
https://www.capgemini.com/testing-services
Capgemini’s World Quality Report
4
“By 2018, one-third of the top 20 market share
leaders in most industries will be significantly
disrupted by competitors that use the 3rd Platform
to create new services and business models.”
Evolution of Business Models
1st Platform
Mainframes . Everything centralized
dumb terminals
Voice: Telephony stand alone
2nd Platform
C/S: Distributed computing PC,
tablet & smart phone
Voice: Telephony as part of
computer HW
3rd Platform
SMAC era
Voice to access & exchange
real time video, data, text,
transactions first step toward
cognitive computing
Mainframe Terminal
LAN/ Internet Client/Server
Source: IDC
5
Evolution of IT ecosystem
Development Process Application Architecture Deployment & Packaging Application Infrastructure
Waterfall
Agile
CI/CD
Dev(T)Ops
Monolithic
N-Tier
Microservices
Physical Servers
Virtual Servers
Containers
Datacenter
Hosted
Cloud
Infra as a Code
6www.unicomlearning.com/ITW_Pune/
Testing is embedded within the Scrum process
•Test preparation begins with completion of user stories
•Daily test runs are conducted along with the development team and
errors communicated to scrum team and stakeholders
•Testing is also performed on partially completed scenarios
•Testing is dynamic, changes can occur at any time
•Coordinate additional testing (performance, UAT etc.,) with non-agile
development teams, as needed
There is no separate allocated schedule for testing.
All elements have to be tested within the scrum team.
Testing in the Agile process
7
Testing in Agile development lifecycle
Req
Design &
Coding
Test AT Req
Design &
Coding
Test AT Req
Design &
Coding
Test AT
Dynamic Analysis
Unit Testing
Dynamic Analysis
Unit Testing
Dynamic Analysis
Unit Testing
Functional Test Functional TestFunctional Test
Reviews & Static
Analysis
Reviews & Static
Analysis
Reviews & Static
Analysis
Performance Testing
Automation Testing
Test Data Management
Test Environment Management
Testing and Quality Metrics
Configuration Management
Agile Testing Objectives
•Test as early and as often possible
Continuously plan the testing effort with every sprint
Adapt and Evolve with each delivery and test cycle
•Test enough & Prioritise
Test most important features first
•Pair testing with development
Constant development testing interaction .
Jointly develop test cases. Leverage the Unit test cases
Leading guiding agile principle “Every one test, Customer
accepts”
Testing Types and Phases
•Validation of User Stories
•Acceptance Tests
•Validation of Tasks implementing
the User Stories
Unit Tests
Integration Tests
Functional Tests
Exploratory Testing
Performance Tests
Regression of previous Sprint(s)
Agile Testing Approach
Sprint-1 Sprint-2 Sprint-3
 Defect Acceptance Ratio
(DAR)
 Defect Removal Efficiency
(DRE)
 % Deferred Defects
 Reopen defects
 Test case Execution (TCE) -
ratio of test cases executed
vs. test cases planned
 Test Automation Coverage
Key Agile Testing Metrics
8www.unicomlearning.com/ITW_Pune/
Agile Development and Testing Activities
9
TMap NEXT® - How TMap is Applied to the Agile
Test Lifecycle
A project contains one or more iterations. Per project a compact project test plan is made. An iteration contains one or more user stories.
Per iteration a compact iteration test plan is made. The preparation (P), specification (S), execution (E) and completion (C) phases apply
to each individual user story. The control and infrastructure phases are continuous phases covering the whole project.
 Preserve
testware
 Evaluate
process
Iteration Plan
Control
Infrastructure
Planning
Iteration 1
E
P S
C
Story 7
E
P S
C
Story 13
Iteration 2 Iteration n
E
P S
C
Story 4
E
P S
C
Story 11
 Develop test strategy
 Risk analysis
 Test estimation
 Prepare test plan
 Define organization
• Review requirements
• Assign techniques (See
Appendix)
• Identify scenarios
 Create test scripts
 Define test data
Execution
Preparation Specification
Story 1
 Test, (Re)test
 Check, Assess
 Manage the test project
 Report metrics
 Control budget &
Timelines
Execution
Completion
10www.unicomlearning.com/ITW_Pune/
A tester in an agile environment:
 Is a skilled communicator
 Is flexible
 Has domain knowledge
 Is creative but practical
 Is solution-oriented
 Is customer-focused
 Is a team player
 Supports the product owner in
the prioritization of product
backlog and acceptance criteria
 Supports the business analyst
 Evaluates unit tests
 Pairs with a developer to help
program with minimal errors
 Participates in daily scrum
meetings
The most important characteristic is that the tester must be proactive and
open-minded, and, as a part of the team, feels responsible for the delivery of a quality
result.
Testing in the Agile process
11www.unicomlearning.com/ITW_Pune/
• Automation has moved beyond graphical user interface testing using Record and
playback mode.
• Faster Time to Market, Increased productivity, Real time Data Processing
• Learn to Program. Programming is first step for automation. Be well versed with
scripting languages like Python, Ruby etc.
• Learn Automation tools in the market
• Social, Mobile, Analytics, Cloud (SMAC) – Digital everywhere !!
• Devops Automation - the way forward!
Agile and Automation
12
Agile and Automation
Requirements
Architecture &
Design
Development Testing Release
ShiftLeft
Test Driven
Development
Automation: 80 - 100%
Unit Tests
Automation: 80 - 100%
Behavior driven
development
Automation: 50 – 70%
Service Virtualization
Automation 40 – 60%
ShiftRight
Continuous
Integration
Auto: 80 – 100%
Continuous
Delivery
Auto:10-60%
UAT
Automation
40 – 60%
Continuous
Monitoring
Auto: 40 – 60%
Environment
virtualization
Auto: 40 – 60%
Non functional tests
Automation: 80-100%
Performance Tests
Automation; 100%Regression test
Automation 60 – 80%
Test Management/Defect
Management
Automation: 70 - 100%
Sprint Acceptance Tests
Automation 40 – 50%
Exploratory tests
Automation: 30 – 40%
Functional Tests
Automation: 40 – 50%
13
Test Automation Approach in Agile
Sprint 1 Sprint 2 Sprint 3 Sprint 4
C1 C1
C2
C1
C3
F1
C2
C1
C2
C4
C3
F1Tester automates in N + 1
sprint once stable in N sprint
F1 Stable FeatureC Stable Component C Component
14
Test Driven Development [TDD]
Write a test
that fails
Make the
code work
Eliminate
the
redundancy
by
refactoring
The mantra of Test-Driven Development (TDD) is red, green, refactor.
JUnit
NUnit
HttpUnit
15
Acceptance Test Driven Development
The information 1
Write an
acceptance
test that
fails
Make the
code work
Eliminate
the
redundancy
by
refactoring
16Copyright © Capgemini 2015. All Rights Reserved
Continuous Integration Automation framework
Continuous
Integration
Automation
Physical / Virtual Environment
Ready for
Deployment
SCM
Environment Sanity
/ Smoke Test
Unit Testing
Environment
Pre-Check
Deployment
Test Automation
/Regression Suite
SCM Tools
MS TFS, SVN, IBM RTC,
Clear Case, HP ALM
Build Tools
MS TFS, Maven, Jenkins,
Cruise Control, Build Forge
Unit Testing Tools
MSTest, JUnit
Testing Automation
Tools
MS Coded UI, Café Next
QTP, Selenium, BDD +
Cucumber
17
With a ready to use tool kit for automation
Release and Sprint Planning :
• Version One, Jira Agile, HP Agile Manager, Microsoft TFS,
Agile Tools -
Snapshot
TDD and BDD tools :
• Cucumber, Jbehave, Junit, xUnit,
Jmeter,csunit, CAST
Sprint Level – Services Automation:
CA Lisa, HP ServiceTest
Functional Automation:
• QTP, Café (Capgemini Automation
Framework),IMDA, Selenium
Exploratory and test design
• HP Sprinter, BluePrint (MBT)
Metrics:
• LIVE (Lifecycle Integration with Virtualized
Engine)
• HP Quality Center , Version 1,Jira , TFS
Build & Integration:
• Jenkins, CruiseControl, Gnumake
18
Future of Automation – A sneak peek
 Technical connect
Normal testing as a profession would diminish and testers would be expected to have
scripting knowledge with the ability to automate.
 Business connect
Automation testers would be expected to have domain and business knowhow.
 DevOps
End to end continuous integration automation would be a necessity not an innovation.
 SMAC adoption
Multiple channel integration and smart device compatibility is a necessity.
Test Automation in Agile

Weitere ähnliche Inhalte

Was ist angesagt?

Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
Intetics
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
tharindakasun
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 

Was ist angesagt? (20)

Guide to Agile testing
Guide to Agile testingGuide to Agile testing
Guide to Agile testing
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
 
Agile testing
Agile testingAgile testing
Agile testing
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
 
Testing in Agile Projects
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projects
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
 
Agile testing - Testing From Day 1
Agile testing - Testing From Day 1Agile testing - Testing From Day 1
Agile testing - Testing From Day 1
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Test automation
Test automationTest automation
Test automation
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Insprint automation, build the culture
Insprint automation, build the cultureInsprint automation, build the culture
Insprint automation, build the culture
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil Karade
 
Shift Left Testing: Going Beyond Agile
Shift Left Testing: Going Beyond AgileShift Left Testing: Going Beyond Agile
Shift Left Testing: Going Beyond Agile
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Writing Test Cases in Agile
Writing Test Cases in AgileWriting Test Cases in Agile
Writing Test Cases in Agile
 
TDD and BDD and ATDD
TDD and BDD and ATDDTDD and BDD and ATDD
TDD and BDD and ATDD
 

Andere mochten auch

Andere mochten auch (20)

WiKi Based Automation Testing: Fitness & DevOps
WiKi Based Automation Testing: Fitness & DevOpsWiKi Based Automation Testing: Fitness & DevOps
WiKi Based Automation Testing: Fitness & DevOps
 
Demystifying Devops - Uday kumar
Demystifying Devops - Uday kumarDemystifying Devops - Uday kumar
Demystifying Devops - Uday kumar
 
Mind Wave In Testing
Mind Wave In TestingMind Wave In Testing
Mind Wave In Testing
 
Using Docker for Testing - Mukta
Using Docker for Testing - MuktaUsing Docker for Testing - Mukta
Using Docker for Testing - Mukta
 
Yahya Devqaops updated
Yahya Devqaops updated Yahya Devqaops updated
Yahya Devqaops updated
 
Automation Testing Approach for Responsive Web Design
Automation Testing Approach for Responsive Web DesignAutomation Testing Approach for Responsive Web Design
Automation Testing Approach for Responsive Web Design
 
Patterns of a "Good" Test Automation Framework, Locators & Data
Patterns of a "Good" Test Automation Framework, Locators & DataPatterns of a "Good" Test Automation Framework, Locators & Data
Patterns of a "Good" Test Automation Framework, Locators & Data
 
Service Virtualization - Kalpna
Service Virtualization - KalpnaService Virtualization - Kalpna
Service Virtualization - Kalpna
 
IoT: Testing - Shardul Rao
IoT: Testing - Shardul RaoIoT: Testing - Shardul Rao
IoT: Testing - Shardul Rao
 
Augmented Reality & Software Testing - Sourabh d
Augmented Reality & Software Testing - Sourabh dAugmented Reality & Software Testing - Sourabh d
Augmented Reality & Software Testing - Sourabh d
 
Simulating Different-Network Speeds using JMETER
Simulating Different-Network Speeds using JMETERSimulating Different-Network Speeds using JMETER
Simulating Different-Network Speeds using JMETER
 
Continuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and JmeterContinuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and Jmeter
 
Test Engagement - Vishal Prasad
Test Engagement - Vishal PrasadTest Engagement - Vishal Prasad
Test Engagement - Vishal Prasad
 
The New Gives and Takes in a testers role
The New Gives and Takes in a testers role The New Gives and Takes in a testers role
The New Gives and Takes in a testers role
 
BDD along with Continuous Integration
BDD along with Continuous IntegrationBDD along with Continuous Integration
BDD along with Continuous Integration
 
Fidelity Test Data Management
Fidelity Test Data ManagementFidelity Test Data Management
Fidelity Test Data Management
 
Dr. shankar-dev ops-davinci_code_GTR
Dr. shankar-dev ops-davinci_code_GTRDr. shankar-dev ops-davinci_code_GTR
Dr. shankar-dev ops-davinci_code_GTR
 
Testing AS A Container - Irfan Ahmad
Testing AS A Container - Irfan AhmadTesting AS A Container - Irfan Ahmad
Testing AS A Container - Irfan Ahmad
 
Introduction - #ATAGTR2016
Introduction - #ATAGTR2016Introduction - #ATAGTR2016
Introduction - #ATAGTR2016
 
#ATAGTR2016 Twitter Action
#ATAGTR2016 Twitter Action #ATAGTR2016 Twitter Action
#ATAGTR2016 Twitter Action
 

Ähnlich wie Test Automation in Agile

Balakrishnan R [ 4.5 yr]
Balakrishnan R [ 4.5 yr]Balakrishnan R [ 4.5 yr]
Balakrishnan R [ 4.5 yr]
Balakrishnan R
 
JagSinghupdated
JagSinghupdatedJagSinghupdated
JagSinghupdated
jag singh
 
Abir_Resume
Abir_ResumeAbir_Resume
Abir_Resume
Abir Das
 
Goutham_2+_Testing.docx
Goutham_2+_Testing.docxGoutham_2+_Testing.docx
Goutham_2+_Testing.docx
goutham mylu
 

Ähnlich wie Test Automation in Agile (20)

How to Deliver Winning Mobile Apps
How to Deliver Winning Mobile AppsHow to Deliver Winning Mobile Apps
How to Deliver Winning Mobile Apps
 
(Technologies) AI, Machine Learning, Predictive Analytics, IIOT, Cloud,Web-fr...
(Technologies) AI, Machine Learning, Predictive Analytics, IIOT, Cloud,Web-fr...(Technologies) AI, Machine Learning, Predictive Analytics, IIOT, Cloud,Web-fr...
(Technologies) AI, Machine Learning, Predictive Analytics, IIOT, Cloud,Web-fr...
 
Resume 2 year
Resume  2 yearResume  2 year
Resume 2 year
 
Balakrishnan R [ 4.5 yr]
Balakrishnan R [ 4.5 yr]Balakrishnan R [ 4.5 yr]
Balakrishnan R [ 4.5 yr]
 
5 Stages of Digital Quality Maturity
5 Stages of Digital Quality Maturity5 Stages of Digital Quality Maturity
5 Stages of Digital Quality Maturity
 
Senior Quality Analyst
Senior Quality AnalystSenior Quality Analyst
Senior Quality Analyst
 
JagSinghupdated
JagSinghupdatedJagSinghupdated
JagSinghupdated
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software Quality
 
Abir_Resume
Abir_ResumeAbir_Resume
Abir_Resume
 
Anuroop_Resume
Anuroop_ResumeAnuroop_Resume
Anuroop_Resume
 
Vandana B
Vandana BVandana B
Vandana B
 
Arun resume
Arun resumeArun resume
Arun resume
 
SHESHANK_DASARI
SHESHANK_DASARISHESHANK_DASARI
SHESHANK_DASARI
 
Webinar Presentation: Best Practices in QA Testing - Leveraging Open Source T...
Webinar Presentation: Best Practices in QA Testing - Leveraging Open Source T...Webinar Presentation: Best Practices in QA Testing - Leveraging Open Source T...
Webinar Presentation: Best Practices in QA Testing - Leveraging Open Source T...
 
Goutham_2+_Testing.docx
Goutham_2+_Testing.docxGoutham_2+_Testing.docx
Goutham_2+_Testing.docx
 
Agile Development in Aerospace and Defense
Agile Development in Aerospace and DefenseAgile Development in Aerospace and Defense
Agile Development in Aerospace and Defense
 
Resume (2)
Resume (2)Resume (2)
Resume (2)
 
Sanjay Sharma
Sanjay SharmaSanjay Sharma
Sanjay Sharma
 
Test Automation: Investment Today Pays Back Tomorrow
Test Automation: Investment Today Pays Back TomorrowTest Automation: Investment Today Pays Back Tomorrow
Test Automation: Investment Today Pays Back Tomorrow
 
Ranjith S
Ranjith SRanjith S
Ranjith S
 

Mehr von Agile Testing Alliance

Mehr von Agile Testing Alliance (20)

#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
 
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
 
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
 
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
 
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
 
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
 
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
 
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
 
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
 
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
 
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
 
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
 
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
 
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
 
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
 
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
 
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
 
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
 
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
 
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Test Automation in Agile

  • 2. 2 Agenda • Capgemini’s World Quality Report on Automation • Evolution of business models and IT ecosystem • QA and Testing in the agile world • Agile and test automation • Challenges in Agile automation • In conclusion …
  • 4. 4 “By 2018, one-third of the top 20 market share leaders in most industries will be significantly disrupted by competitors that use the 3rd Platform to create new services and business models.” Evolution of Business Models 1st Platform Mainframes . Everything centralized dumb terminals Voice: Telephony stand alone 2nd Platform C/S: Distributed computing PC, tablet & smart phone Voice: Telephony as part of computer HW 3rd Platform SMAC era Voice to access & exchange real time video, data, text, transactions first step toward cognitive computing Mainframe Terminal LAN/ Internet Client/Server Source: IDC
  • 5. 5 Evolution of IT ecosystem Development Process Application Architecture Deployment & Packaging Application Infrastructure Waterfall Agile CI/CD Dev(T)Ops Monolithic N-Tier Microservices Physical Servers Virtual Servers Containers Datacenter Hosted Cloud Infra as a Code
  • 6. 6www.unicomlearning.com/ITW_Pune/ Testing is embedded within the Scrum process •Test preparation begins with completion of user stories •Daily test runs are conducted along with the development team and errors communicated to scrum team and stakeholders •Testing is also performed on partially completed scenarios •Testing is dynamic, changes can occur at any time •Coordinate additional testing (performance, UAT etc.,) with non-agile development teams, as needed There is no separate allocated schedule for testing. All elements have to be tested within the scrum team. Testing in the Agile process
  • 7. 7 Testing in Agile development lifecycle Req Design & Coding Test AT Req Design & Coding Test AT Req Design & Coding Test AT Dynamic Analysis Unit Testing Dynamic Analysis Unit Testing Dynamic Analysis Unit Testing Functional Test Functional TestFunctional Test Reviews & Static Analysis Reviews & Static Analysis Reviews & Static Analysis Performance Testing Automation Testing Test Data Management Test Environment Management Testing and Quality Metrics Configuration Management Agile Testing Objectives •Test as early and as often possible Continuously plan the testing effort with every sprint Adapt and Evolve with each delivery and test cycle •Test enough & Prioritise Test most important features first •Pair testing with development Constant development testing interaction . Jointly develop test cases. Leverage the Unit test cases Leading guiding agile principle “Every one test, Customer accepts” Testing Types and Phases •Validation of User Stories •Acceptance Tests •Validation of Tasks implementing the User Stories Unit Tests Integration Tests Functional Tests Exploratory Testing Performance Tests Regression of previous Sprint(s) Agile Testing Approach Sprint-1 Sprint-2 Sprint-3  Defect Acceptance Ratio (DAR)  Defect Removal Efficiency (DRE)  % Deferred Defects  Reopen defects  Test case Execution (TCE) - ratio of test cases executed vs. test cases planned  Test Automation Coverage Key Agile Testing Metrics
  • 9. 9 TMap NEXT® - How TMap is Applied to the Agile Test Lifecycle A project contains one or more iterations. Per project a compact project test plan is made. An iteration contains one or more user stories. Per iteration a compact iteration test plan is made. The preparation (P), specification (S), execution (E) and completion (C) phases apply to each individual user story. The control and infrastructure phases are continuous phases covering the whole project.  Preserve testware  Evaluate process Iteration Plan Control Infrastructure Planning Iteration 1 E P S C Story 7 E P S C Story 13 Iteration 2 Iteration n E P S C Story 4 E P S C Story 11  Develop test strategy  Risk analysis  Test estimation  Prepare test plan  Define organization • Review requirements • Assign techniques (See Appendix) • Identify scenarios  Create test scripts  Define test data Execution Preparation Specification Story 1  Test, (Re)test  Check, Assess  Manage the test project  Report metrics  Control budget & Timelines Execution Completion
  • 10. 10www.unicomlearning.com/ITW_Pune/ A tester in an agile environment:  Is a skilled communicator  Is flexible  Has domain knowledge  Is creative but practical  Is solution-oriented  Is customer-focused  Is a team player  Supports the product owner in the prioritization of product backlog and acceptance criteria  Supports the business analyst  Evaluates unit tests  Pairs with a developer to help program with minimal errors  Participates in daily scrum meetings The most important characteristic is that the tester must be proactive and open-minded, and, as a part of the team, feels responsible for the delivery of a quality result. Testing in the Agile process
  • 11. 11www.unicomlearning.com/ITW_Pune/ • Automation has moved beyond graphical user interface testing using Record and playback mode. • Faster Time to Market, Increased productivity, Real time Data Processing • Learn to Program. Programming is first step for automation. Be well versed with scripting languages like Python, Ruby etc. • Learn Automation tools in the market • Social, Mobile, Analytics, Cloud (SMAC) – Digital everywhere !! • Devops Automation - the way forward! Agile and Automation
  • 12. 12 Agile and Automation Requirements Architecture & Design Development Testing Release ShiftLeft Test Driven Development Automation: 80 - 100% Unit Tests Automation: 80 - 100% Behavior driven development Automation: 50 – 70% Service Virtualization Automation 40 – 60% ShiftRight Continuous Integration Auto: 80 – 100% Continuous Delivery Auto:10-60% UAT Automation 40 – 60% Continuous Monitoring Auto: 40 – 60% Environment virtualization Auto: 40 – 60% Non functional tests Automation: 80-100% Performance Tests Automation; 100%Regression test Automation 60 – 80% Test Management/Defect Management Automation: 70 - 100% Sprint Acceptance Tests Automation 40 – 50% Exploratory tests Automation: 30 – 40% Functional Tests Automation: 40 – 50%
  • 13. 13 Test Automation Approach in Agile Sprint 1 Sprint 2 Sprint 3 Sprint 4 C1 C1 C2 C1 C3 F1 C2 C1 C2 C4 C3 F1Tester automates in N + 1 sprint once stable in N sprint F1 Stable FeatureC Stable Component C Component
  • 14. 14 Test Driven Development [TDD] Write a test that fails Make the code work Eliminate the redundancy by refactoring The mantra of Test-Driven Development (TDD) is red, green, refactor. JUnit NUnit HttpUnit
  • 15. 15 Acceptance Test Driven Development The information 1 Write an acceptance test that fails Make the code work Eliminate the redundancy by refactoring
  • 16. 16Copyright © Capgemini 2015. All Rights Reserved Continuous Integration Automation framework Continuous Integration Automation Physical / Virtual Environment Ready for Deployment SCM Environment Sanity / Smoke Test Unit Testing Environment Pre-Check Deployment Test Automation /Regression Suite SCM Tools MS TFS, SVN, IBM RTC, Clear Case, HP ALM Build Tools MS TFS, Maven, Jenkins, Cruise Control, Build Forge Unit Testing Tools MSTest, JUnit Testing Automation Tools MS Coded UI, Café Next QTP, Selenium, BDD + Cucumber
  • 17. 17 With a ready to use tool kit for automation Release and Sprint Planning : • Version One, Jira Agile, HP Agile Manager, Microsoft TFS, Agile Tools - Snapshot TDD and BDD tools : • Cucumber, Jbehave, Junit, xUnit, Jmeter,csunit, CAST Sprint Level – Services Automation: CA Lisa, HP ServiceTest Functional Automation: • QTP, Café (Capgemini Automation Framework),IMDA, Selenium Exploratory and test design • HP Sprinter, BluePrint (MBT) Metrics: • LIVE (Lifecycle Integration with Virtualized Engine) • HP Quality Center , Version 1,Jira , TFS Build & Integration: • Jenkins, CruiseControl, Gnumake
  • 18. 18 Future of Automation – A sneak peek  Technical connect Normal testing as a profession would diminish and testers would be expected to have scripting knowledge with the ability to automate.  Business connect Automation testers would be expected to have domain and business knowhow.  DevOps End to end continuous integration automation would be a necessity not an innovation.  SMAC adoption Multiple channel integration and smart device compatibility is a necessity.

Hinweis der Redaktion

  1. As a general rule of thumb, we advise customers that automated test creation lag by no more than one sprint. In other words, the exit criteria for a second sprint includes the agreed upon automation for the functionality of the first sprint, and so on. This rule recognizes that rarely is there enough time within a sprint to automate the tests of that sprint. But it also lessens the temptation to let test automation slide to later and later sprints. Furthermore, this “sprint+1” law of automated testing helps to ensure (a) that time for test automation is allocated to each sprint, and (b) that if the team is not able to complete its target automation, the gap in remaining work is treated just as a code gap would be. That is, either the sprint is extended to complete the work, or the outstanding tasks are moved to the backlog for allocation to future sprints.
  2. Add a Test In test-driven development, each new feature begins with writing a test. This test must inevitably fail because it is written before the feature has been implemented. (If it does not fail, then either the proposed “new” feature already exists or the test is defective.) To write a test, the developer must clearly understand the feature's specification and requirements. The developer can accomplish this through use cases and user stories that cover the requirements and exception conditions. This could also imply a variant, or modification of an existing test. This is a differentiating feature of test-driven development versus writing unit tests after the code is written: it makes the developer focus on the requirements before writing the code, a subtle but important difference. Run all tests and see if the new one fails This validates that the test harness is working correctly and that the new test does not mistakenly pass without requiring any new code. This step also tests the test itself, in the negative: it rules out the possibility that the new test will always pass, and therefore be worthless. The new test should also fail for the expected reason. This increases confidence (although it does not entirely guarantee) that it is testing the right thing, and will pass only in intended cases. Write some code The next step is to write some code that will cause the test to pass. The new code written at this stage will not be perfect and may, for example, pass the test in an inelegant way. That is acceptable because later steps will improve and hone it. It is important that the code written is only designed to pass the test; no further (and therefore untested) functionality should be predicted and 'allowed for' at any stage. Run the automated tests and see them succeed If all test cases now pass, the programmer can be confident that the code meets all the tested requirements. This is a good point from which to begin the final step of the cycle. Refactor code Now the code can be cleaned up as necessary. By re-running the test cases, the developer can be confident that code refactoring is not damaging any existing functionality. The concept of removing duplication is an important aspect of any software design. In this case, however, it also applies to removing any duplication between the test code and the production code — for example magic numbers or strings that were repeated in both, in order to make the test pass in step 3. Repeat Starting with another new test, the cycle is then repeated to push forward the functionality. The size of the steps should always be small, with as few as 1 to 10 edits between each test run. If new code does not rapidly satisfy a new test, or other tests fail unexpectedly, the programmer should undo or revert in preference to excessive debugging. Continuous Integration helps by providing revertible checkpoints. When using external libraries it is important not to make increments that are so small as to be effectively merely testing the library itself,[3] unless there is some reason to believe that the library is buggy or is not sufficiently feature-complete to serve all the needs of the main program being written.
  3. Add a Test In Acceptance test-driven development, each new feature begins with writing an acceptance test. This test must inevitably fail because it is written before the feature has been implemented. (If it does not fail, then either the proposed “new” feature already exists or the test is defective.) To write a test, the developer must clearly understand the feature's specification and requirements. The developer can accomplish this through use cases and user stories that cover the requirements and exception conditions. This could also imply a variant, or modification of an existing test. This is a differentiating feature of test-driven development versus writing unit tests after the code is written: it makes the developer focus on the requirements before writing the code, a subtle but important difference. Run all tests and see if the new one fails This validates that the test harness is working correctly and that the new test does not mistakenly pass without requiring any new code. This step also tests the test itself, in the negative: it rules out the possibility that the new test will always pass, and therefore be worthless. The new test should also fail for the expected reason. This increases confidence (although it does not entirely guarantee) that it is testing the right thing, and will pass only in intended cases. Write some code The next step is to write some code that will cause the test to pass. The new code written at this stage will not be perfect and may, for example, pass the test in an inelegant way. That is acceptable because later steps will improve and hone it. It is important that the code written is only designed to pass the test; no further (and therefore untested) functionality should be predicted and 'allowed for' at any stage. Run the automated tests and see them succeed If all test cases now pass, the programmer can be confident that the code meets all the tested requirements. This is a good point from which to begin the final step of the cycle. Refactor code Now the code can be cleaned up as necessary. By re-running the test cases, the developer can be confident that code refactoring is not damaging any existing functionality. The concept of removing duplication is an important aspect of any software design. In this case, however, it also applies to removing any duplication between the test code and the production code — for example magic numbers or strings that were repeated in both, in order to make the test pass in step 3. Repeat Starting with another new test, the cycle is then repeated to push forward the functionality. The size of the steps should always be small, with as few as 1 to 10 edits between each test run. If new code does not rapidly satisfy a new test, or other tests fail unexpectedly, the programmer should undo or revert in preference to excessive debugging. Continuous Integration helps by providing revertible checkpoints. When using external libraries it is important not to make increments that are so small as to be effectively merely testing the library itself,[3] unless there is some reason to believe that the library is buggy or is not sufficiently feature-complete to serve all the needs of the main program being written.