SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
-Jayaprakash Puttaswamy
Test Automation Strategies
for Legacy Systems
What thoughts come to your
mind?
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
 Legacy Systems : challenges (05 mins)
 Test Automation : the full puzzle (15 mins)
 Refactoring Legacy Code (10 mins)
1.Shortest/Deepest branch technique
2.Applying Strangulation (Strangler pattern)
 Q&A (10 mins)
Next 40 mins!
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Legacy Systems - challenges
1. Lack of Agile Testing Mind-set
• Defect prevention Vs detection
• Developer Vs QA mind-set
2. Lack of Domain knowledge
• Unclear or vague requirements
• Lack of domain knowledge for multiple components
3. Lack of Technical Infrastructure
• Relevant testing tools and frameworks
• No infrastructure to mock/simulate dependencies (hardware/third party software)
4. Lack of Technical Skills
• Inability to distinguish and write Unit Tests, Integration Tests and End-to-End tests
• Quality of Testing (especially Unit Testing)
• Lack of refactoring skills/techniques
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Test Automation - the full puzzle
•Unit testing tools for with
mocking support
•Ability to run test
independently at different
levels
•Testing from Bottom-up
approach (Agile Testing
Pyramid)
•Writing good quality tests
•Usage of mocks
•Vertical slicing while
breaking down tasks
•Distinguishing between
Functional, Integration &
Unit testing
•Clear and refined
Acceptance Criteria
•Alignment between User
Story conversations and
their refinement
1. Clarity on
User Story
and A.C.
2. Thinking
through
about
types/level of
Testing
3. Testing
infrastructure
and tools
4. Testing
skills
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
STP (See-through Pyramid)
Image Source:
http://www.molon.de/galleries/France/Paris/Louvre/images01/15%20Louvr
e%20glass%20pyramid%20at%20sunset.jpg
Image Source: http://martinfowler.com/bliki/TestPyramid.html
Agile Testing Pyramid
STP (See-through Pyramid)
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Agile Testing Quadrants
Source: http://lisacrispin.com/2011/11/08/using-the-agile-testing-quadrants/
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Ex: Component/Technology Stack
Portal UI [HRML/CSS]
Portal Widget Framework
[Bootstrap, jQuery]
Portlets [Liferay
Portlets, Java]
Group Security Engine
[Spring, Hibernate, Java]
Authorization Engine
[OAuth]
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
1. Check if you have clarity on Feature/User Stories/Scenarios
2. If needed, derive more BDD Scenarios
3. Identify the scenario flows through layers/components of your application architecture
4. Evaluate the Impact on the code block that may get modified
5. Evaluate the Stability of the Impacted coded block
6. Identify and implement minimal code/tests that need refactoring and automation (only if
Impact is HIGH and is currently UNSTABLE)
7. Identify units where business logic gets added or modified. There are natural candidates for
Unit testing
8. Identify integration and end-to-end scenarios between units that need testing
Testing Approach for Legacy System
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Refactoring Legacy Code
Source: Video by Sandra Mancuso - https://www.youtube.com/watch?v=_NnElPO5BU0
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Refactoring Legacy Code
Image source: http://www.ferdinandludwig.com/plant-addition.html
Strangulation
(based on EventInterception and AssetCapture strategies)
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
http://in.linkedin.com/in/jputtaswamy
jayaprakash@arithaconsulting.com
@agilejp
@arithatweet
About me
Let’s connect
Jayaprakash Puttaswamy (JP) works as a Director - Technology &
Consulting at Aritha Consulting Services and consults enterprises
in Agile and Agile-BI space.
 Agile Strategist, Coach and an Enabler
 Practicing agile since 12 years (RUP,
XP, Scrum, Lean & Kanban)
 Trained & coached over 1400
professionals spread across 150 plus
teams in 35 plus companies including
start-ups.
 Driven large-scale agile
transformation (both software & non-
software) for global enterprises with
scale of 50 to 4000 people.
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net
QnA

Contenu connexe

Tendances

Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...
Anmol Bagga
 
The what why and how of web analytics testing
The what why and how of web analytics testingThe what why and how of web analytics testing
The what why and how of web analytics testing
VodqaBLR
 

Tendances (20)

Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Test automation
Test automationTest automation
Test automation
 
Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...
 
The what why and how of web analytics testing
The what why and how of web analytics testingThe what why and how of web analytics testing
The what why and how of web analytics testing
 
IGT's Intelligent Automation Framework
IGT's Intelligent Automation FrameworkIGT's Intelligent Automation Framework
IGT's Intelligent Automation Framework
 
Start Your Automation Journey With Rapise
Start Your Automation Journey With Rapise Start Your Automation Journey With Rapise
Start Your Automation Journey With Rapise
 
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
 
Testing APIs in the Cloud
Testing APIs in the CloudTesting APIs in the Cloud
Testing APIs in the Cloud
 
Eclipse UI automation
Eclipse UI automationEclipse UI automation
Eclipse UI automation
 
Test automation with trends
Test automation with trendsTest automation with trends
Test automation with trends
 
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
 
From One Test To Test Framework With Rapise
From One Test To Test Framework With Rapise From One Test To Test Framework With Rapise
From One Test To Test Framework With Rapise
 
Code Review Tool Evaluation
Code Review Tool EvaluationCode Review Tool Evaluation
Code Review Tool Evaluation
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & ToolsTest Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & Tools
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
 
How to select the right automated testing tool
How to select the right automated testing toolHow to select the right automated testing tool
How to select the right automated testing tool
 
Automation With A Tool Demo
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool Demo
 
10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing
 

En vedette

Trends in Agile Testing by Lisa Crispin
Trends in Agile Testing by Lisa CrispinTrends in Agile Testing by Lisa Crispin
Trends in Agile Testing by Lisa Crispin
Directi Group
 
Speed upyourtest with_appium
Speed upyourtest with_appiumSpeed upyourtest with_appium
Speed upyourtest with_appium
VodqaBLR
 
Winning strategies in Test Automation
Winning strategies in Test AutomationWinning strategies in Test Automation
Winning strategies in Test Automation
XBOSoft
 
Data Analytics-testing spectrum
Data Analytics-testing spectrumData Analytics-testing spectrum
Data Analytics-testing spectrum
VodqaBLR
 

En vedette (15)

Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
 
Trends in Agile Testing by Lisa Crispin
Trends in Agile Testing by Lisa CrispinTrends in Agile Testing by Lisa Crispin
Trends in Agile Testing by Lisa Crispin
 
Speed upyourtest with_appium
Speed upyourtest with_appiumSpeed upyourtest with_appium
Speed upyourtest with_appium
 
Winning strategies in Test Automation
Winning strategies in Test AutomationWinning strategies in Test Automation
Winning strategies in Test Automation
 
Mobile Automation Using Appium - vodQA Bangalore 2015
Mobile Automation Using Appium - vodQA Bangalore 2015Mobile Automation Using Appium - vodQA Bangalore 2015
Mobile Automation Using Appium - vodQA Bangalore 2015
 
DevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and StatisticsDevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and Statistics
 
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns QualityAgile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
 
Divide and-conquer approach towards data analytics testing
Divide and-conquer approach towards data analytics testingDivide and-conquer approach towards data analytics testing
Divide and-conquer approach towards data analytics testing
 
Data Analytics-testing spectrum
Data Analytics-testing spectrumData Analytics-testing spectrum
Data Analytics-testing spectrum
 
Strategies for Distributed Agile Testing
Strategies for Distributed Agile TestingStrategies for Distributed Agile Testing
Strategies for Distributed Agile Testing
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance Testing
 
What is Agile Testing?
What is Agile Testing?What is Agile Testing?
What is Agile Testing?
 
Client-side Performance Testing
Client-side Performance TestingClient-side Performance Testing
Client-side Performance Testing
 
BDD with Gauge
BDD with GaugeBDD with Gauge
BDD with Gauge
 
Microservices Testing
Microservices TestingMicroservices Testing
Microservices Testing
 

Similaire à Test automation_strategy_for_legacysystems

Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
srivinayak
 

Similaire à Test automation_strategy_for_legacysystems (20)

Unit testing for ext js apps using sencha test - Walkingtree Technologies
Unit testing for ext js apps using sencha test - Walkingtree TechnologiesUnit testing for ext js apps using sencha test - Walkingtree Technologies
Unit testing for ext js apps using sencha test - Walkingtree Technologies
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
 
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
 
Test automation: Are Enterprises ready to bite the bullet?
Test automation: Are Enterprises ready to bite the bullet?Test automation: Are Enterprises ready to bite the bullet?
Test automation: Are Enterprises ready to bite the bullet?
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
 
Functional and Non-functional Test automation
Functional and Non-functional Test automationFunctional and Non-functional Test automation
Functional and Non-functional Test automation
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
 
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
 
5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests
 
No Devops Without Continuous Testing
No Devops Without Continuous TestingNo Devops Without Continuous Testing
No Devops Without Continuous Testing
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges Webinar
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
 
Seacon Continuous Delivery Pipeline Tools Track
Seacon Continuous Delivery Pipeline Tools TrackSeacon Continuous Delivery Pipeline Tools Track
Seacon Continuous Delivery Pipeline Tools Track
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
Test Automation Assessment Checklist.pdf
Test Automation Assessment Checklist.pdfTest Automation Assessment Checklist.pdf
Test Automation Assessment Checklist.pdf
 
Demystifying Robotic Process Automation (RPA) & Automation Testing
Demystifying Robotic Process Automation (RPA) & Automation TestingDemystifying Robotic Process Automation (RPA) & Automation Testing
Demystifying Robotic Process Automation (RPA) & Automation Testing
 
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
 
Yasfeen_Sultana
Yasfeen_SultanaYasfeen_Sultana
Yasfeen_Sultana
 

Plus de VodqaBLR

Plus de VodqaBLR (20)

Consumer-Driven Contract Testing PACT
Consumer-Driven Contract Testing PACTConsumer-Driven Contract Testing PACT
Consumer-Driven Contract Testing PACT
 
Taiko presentation
Taiko presentationTaiko presentation
Taiko presentation
 
Chatbot Testing
Chatbot TestingChatbot Testing
Chatbot Testing
 
Key Note VodQA(Bangalore) 2018
Key Note VodQA(Bangalore) 2018Key Note VodQA(Bangalore) 2018
Key Note VodQA(Bangalore) 2018
 
Android security testing
Android security testingAndroid security testing
Android security testing
 
Advance appium workshop.pptx
Advance appium workshop.pptxAdvance appium workshop.pptx
Advance appium workshop.pptx
 
Blockchain workshop
Blockchain workshopBlockchain workshop
Blockchain workshop
 
Testing natural language processing
Testing natural language processingTesting natural language processing
Testing natural language processing
 
Drive chrome(headless) with puppeteer
Drive chrome(headless) with puppeteerDrive chrome(headless) with puppeteer
Drive chrome(headless) with puppeteer
 
Improve your Chaos IQ
Improve your Chaos IQImprove your Chaos IQ
Improve your Chaos IQ
 
WebDriver Lamda - Next Gen Scalable Test
WebDriver Lamda - Next Gen Scalable TestWebDriver Lamda - Next Gen Scalable Test
WebDriver Lamda - Next Gen Scalable Test
 
Testing Tools with AI
Testing Tools with AITesting Tools with AI
Testing Tools with AI
 
Dynamic Security Analysis & Static Security Analysis for Android Apps.
Dynamic Security Analysis & Static Security Analysis for Android Apps.Dynamic Security Analysis & Static Security Analysis for Android Apps.
Dynamic Security Analysis & Static Security Analysis for Android Apps.
 
Visual testing for Mobile Native Applications
Visual testing for Mobile Native ApplicationsVisual testing for Mobile Native Applications
Visual testing for Mobile Native Applications
 
Parallel Sim Test using XCUI
Parallel Sim Test using XCUI Parallel Sim Test using XCUI
Parallel Sim Test using XCUI
 
Performance Testing using Taurus
Performance Testing using TaurusPerformance Testing using Taurus
Performance Testing using Taurus
 
Writing Maintainable Tests
Writing Maintainable TestsWriting Maintainable Tests
Writing Maintainable Tests
 
Continuous security testing - sharing responsibility
Continuous security testing - sharing responsibilityContinuous security testing - sharing responsibility
Continuous security testing - sharing responsibility
 
ABCing docker with environments - workshop
ABCing docker with environments - workshopABCing docker with environments - workshop
ABCing docker with environments - workshop
 
Automate Web or Mobile Analytics using TrakMatic
Automate Web or Mobile Analytics using TrakMaticAutomate Web or Mobile Analytics using TrakMatic
Automate Web or Mobile Analytics using TrakMatic
 

Dernier

+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@
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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...
 
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...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
+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...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
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
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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
 
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
 

Test automation_strategy_for_legacysystems

  • 1. -Jayaprakash Puttaswamy Test Automation Strategies for Legacy Systems
  • 2. What thoughts come to your mind?
  • 3. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com  Legacy Systems : challenges (05 mins)  Test Automation : the full puzzle (15 mins)  Refactoring Legacy Code (10 mins) 1.Shortest/Deepest branch technique 2.Applying Strangulation (Strangler pattern)  Q&A (10 mins) Next 40 mins!
  • 4. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Legacy Systems - challenges 1. Lack of Agile Testing Mind-set • Defect prevention Vs detection • Developer Vs QA mind-set 2. Lack of Domain knowledge • Unclear or vague requirements • Lack of domain knowledge for multiple components 3. Lack of Technical Infrastructure • Relevant testing tools and frameworks • No infrastructure to mock/simulate dependencies (hardware/third party software) 4. Lack of Technical Skills • Inability to distinguish and write Unit Tests, Integration Tests and End-to-End tests • Quality of Testing (especially Unit Testing) • Lack of refactoring skills/techniques
  • 5. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Test Automation - the full puzzle •Unit testing tools for with mocking support •Ability to run test independently at different levels •Testing from Bottom-up approach (Agile Testing Pyramid) •Writing good quality tests •Usage of mocks •Vertical slicing while breaking down tasks •Distinguishing between Functional, Integration & Unit testing •Clear and refined Acceptance Criteria •Alignment between User Story conversations and their refinement 1. Clarity on User Story and A.C. 2. Thinking through about types/level of Testing 3. Testing infrastructure and tools 4. Testing skills
  • 6. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com STP (See-through Pyramid) Image Source: http://www.molon.de/galleries/France/Paris/Louvre/images01/15%20Louvr e%20glass%20pyramid%20at%20sunset.jpg Image Source: http://martinfowler.com/bliki/TestPyramid.html Agile Testing Pyramid STP (See-through Pyramid)
  • 7. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Agile Testing Quadrants Source: http://lisacrispin.com/2011/11/08/using-the-agile-testing-quadrants/
  • 8. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Ex: Component/Technology Stack Portal UI [HRML/CSS] Portal Widget Framework [Bootstrap, jQuery] Portlets [Liferay Portlets, Java] Group Security Engine [Spring, Hibernate, Java] Authorization Engine [OAuth]
  • 9. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com 1. Check if you have clarity on Feature/User Stories/Scenarios 2. If needed, derive more BDD Scenarios 3. Identify the scenario flows through layers/components of your application architecture 4. Evaluate the Impact on the code block that may get modified 5. Evaluate the Stability of the Impacted coded block 6. Identify and implement minimal code/tests that need refactoring and automation (only if Impact is HIGH and is currently UNSTABLE) 7. Identify units where business logic gets added or modified. There are natural candidates for Unit testing 8. Identify integration and end-to-end scenarios between units that need testing Testing Approach for Legacy System
  • 10. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Refactoring Legacy Code Source: Video by Sandra Mancuso - https://www.youtube.com/watch?v=_NnElPO5BU0
  • 11. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Refactoring Legacy Code Image source: http://www.ferdinandludwig.com/plant-addition.html Strangulation (based on EventInterception and AssetCapture strategies)
  • 12. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com http://in.linkedin.com/in/jputtaswamy jayaprakash@arithaconsulting.com @agilejp @arithatweet About me Let’s connect Jayaprakash Puttaswamy (JP) works as a Director - Technology & Consulting at Aritha Consulting Services and consults enterprises in Agile and Agile-BI space.  Agile Strategist, Coach and an Enabler  Practicing agile since 12 years (RUP, XP, Scrum, Lean & Kanban)  Trained & coached over 1400 professionals spread across 150 plus teams in 35 plus companies including start-ups.  Driven large-scale agile transformation (both software & non- software) for global enterprises with scale of 50 to 4000 people.
  • 13. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net QnA