SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
T9
Test Automation
5/8/2014 11:15:00 AM
Accelerate Testing in Agile
through a Shared Business
Domain Language
Presented by:
Laurent Py
Smartesting
Brought to you by:
340 Corporate Way, Suite 300, Orange Park, FL 32073
888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
Laurent Py
Smartesting
A founder and chief executive officer of Smartesting® Laurent Py began exploring advanced
testing techniques in the 1990s and has extensive experience in software testing. Laurent also
has a product management role for Zest, the new testing platform in the cloud, and is engaged
with customers to ensure Smartesting products meet the needs of the next generation of
developers and testers. He is passionate about lean startups and agility. For Laurent it’s all
about using early feedback to test and validate assumptions as soon as possible.
26/04/2014
1
Laurent PY
CEO, Smartesting
Laurent.py@smartesting.com
@py_laurent
www.smartesting.com
Defining a Shared Business
Domain Language to accelerate
testing in Agile Projects
Our long and painful
journey
towards DevOps
26/04/2014
2
Product: CertifyIt, eclipse plug-in in JAVA (Model-Based-Testing)
– Waterfall process
– 1 release every 6 months
– Few tests and no TDD
– 1 month (x5 people) to do release testing before
deployment
– Poor quality impacting customers’ feedback and adoption
Overview of our development process 2004/06
3
Product: CertifyIt, eclipse plug-in in JAVA (Model-Based-Testing)
– First XP and then Scrum process
– We do TDD
– Continuous integration (code & unit test)
– 1 customer release every 3 months (1 operation release every 3 weeks)
– 1 man/month to do release testing before deployment
– Good feedback from customers!
Tasting agility end of 2006
4
26/04/2014
3
Product: Zest, testing platform in the cloud
– Still Scrum process
– We do TDD and
– Acceptance Testing Driven Development (ATDD), 100% automated
– Acceptance tests are part of the CI process
– We do several deployments a day (≈10)
Now we are experiencing DevOps - 2012
5
Shorter iterations (1 to 4 weeks) lead to
massive test automation completed by
exploratory testing
Acceptance tests become the specification
Testing starts earlier in the development
process: Shift left!
What we’ve learnt
Req
Management
& Definition
Test
Planning
Execution
Defect
management
26/04/2014
4
What we’ve learnt
7
To achieve this level of speed (DevOps context),
acceptance tests should be:
– Understandable to both developers and business
experts to strengthen alignment and enable the ‘shift
left’
– Maintainable to manage efficiently changes in
requirements and keep pace with continuous
deployment
– Automated to enable rapid execution and feed-back
ATDD with Business Domain Language
and refactoring capabilities
ATDD & Refactoring
My view as product owner & tester:
Acceptance tests need to be continually
reviewed and refactored just like code!!!
Martin Fowler
26/04/2014
5
Acceptance testing
driven development
Shift left
PO developers testers Scrum
master
Scrum team
Acceptance testingAcceptance testing
Shift left
Product Backlog
Sprint Backlog Sprint
1 to 4 weeks
Product at the end of the
iteration
Daily meeting
26/04/2014
6
Acceptance Testing Driven Development (ATDD)
Acceptance test is a powerful artifact to improve
communication
Test as the definition of ‘STOP’
Written prior to development by tester
Based on a business DSL (domain specific Language)
Confirmed with stakeholders
Mostly automated
Test in natural language
Test fixture
Code
Acceptance Testing Driven Development (ATDD)
Benefits:
– Improve communication and collaboration between project
stakeholders
– Shared understanding of what a successful implementation
means
– Better coverage of business expectations
– Faster feed back
Challenges:
– New methodology that requires rigor and discipline
– Find the right balance between people/process/tool
26/04/2014
7
Build your
acceptance tests
and DSL at the
same time
Key features:
– Define progressively your Action Words and your business domain language for test
authoring
– Suggestion to promote the reuse of Action Word and avoid duplication
– Refactoring: when an Action Word is modified, impacts are performed automatically across
the tests
– Optimization: inspection features enable to continuously optimize the acceptance tests
– Create scripts and accelerate test automation (Ruby, Java, XML )
Integrations with:
Zest: create acceptance tests with DSL
14
Watir, Appium
26/04/2014
8
Collaboration through acceptance tests & DSL
15
Product Owner
Validate acceptance
tests
Tester
Create acceptance
Tests
Developer
Automate acceptance
tests
• DSL
• Refactoring capabilities
Define new business entities
Define progressively your business terminology with
Action Words. Enable collaboration based on acceptance
tests.
26/04/2014
9
or define business entities right from the tests
Promote test steps into Action Words (what developers
call extract function). This is refactoring!
Evils of duplication
26/04/2014
10
A fundamental principle
Reuse, reuse and reuse Action Words!
Create and maintain consistent scenarios for
your project
Suggestions
26/04/2014
11
Analyse and optimize continuously your tests
When duplications are identified, refactoring
options are suggested!
Add, remove, modify Action Words and Scenarios
Test refactoring enables to perform automatically
impact analysis and test maintenance tasks
Add parameters to Action WordAdd parameters to Action Word
Propagate automatically to
the scenarios
Propagate automatically to
the scenarios
26/04/2014
12
Generate scripts
Use of Action Words significantly decrease the
cost of automation and accelerate the overall testing
cycle
So your acceptance tests are
Understandable
Definition of business domain tests enable
better alignment of the team
Maintainable
Refactoring and optimization features
dramatically accelerate maintenance
Can be automated
Good design based on Action Words
streamlines the test automation phase
• DSL
• Refactoring capabilities
26/04/2014
13
And remember
Acceptance tests need to be
continually reviewed and
refactored just like code!!!
Q&A
Laurent PY
CEO, Smartesting
Laurent.py@smartesting.com
@py_laurent
www.smartesting.com

Weitere ähnliche Inhalte

Was ist angesagt?

Selenium certification program
Selenium certification programSelenium certification program
Selenium certification program
shivramm
 
Testing and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons LearnedTesting and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons Learned
LB Denker
 

Was ist angesagt? (20)

Selenium certification program
Selenium certification programSelenium certification program
Selenium certification program
 
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
Enhancing your Test automation Scenario Coverage Using Selenium by Eran Kinsb...
 
A DevOps Primer: Whole Team Approaches for Better Software Quality
A DevOps Primer: Whole Team Approaches for Better Software QualityA DevOps Primer: Whole Team Approaches for Better Software Quality
A DevOps Primer: Whole Team Approaches for Better Software Quality
 
The DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It RightThe DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It Right
 
A Day in the Life of a Test Architect
A Day in the Life of a Test ArchitectA Day in the Life of a Test Architect
A Day in the Life of a Test Architect
 
Testing and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons LearnedTesting and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons Learned
 
CP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingCP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation Testing
 
Certified Professional Master Agile Testing information and highlights
Certified Professional Master Agile Testing  information and highlightsCertified Professional Master Agile Testing  information and highlights
Certified Professional Master Agile Testing information and highlights
 
Dev ops
Dev opsDev ops
Dev ops
 
Testing in a DevOps team
Testing in a DevOps teamTesting in a DevOps team
Testing in a DevOps team
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Selenium DeTox for Achieving the Right Testing Pyramid
Selenium DeTox for Achieving the Right Testing PyramidSelenium DeTox for Achieving the Right Testing Pyramid
Selenium DeTox for Achieving the Right Testing Pyramid
 
Roles and Responsibilities of a DevOps Engineer
Roles and Responsibilities of a DevOps EngineerRoles and Responsibilities of a DevOps Engineer
Roles and Responsibilities of a DevOps Engineer
 
The Three Pillars Approach to Your Agile Test Strategy
The Three Pillars Approach to Your Agile Test Strategy The Three Pillars Approach to Your Agile Test Strategy
The Three Pillars Approach to Your Agile Test Strategy
 
Exploratory testing and Dev Ops - best friends?
Exploratory testing and Dev Ops - best friends?Exploratory testing and Dev Ops - best friends?
Exploratory testing and Dev Ops - best friends?
 
Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...
Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...
Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...
 
DevOps Maturity Curve v5
DevOps Maturity Curve v5DevOps Maturity Curve v5
DevOps Maturity Curve v5
 
Appium, Test-Driven Development, and Continuous Integration
Appium, Test-Driven Development, and Continuous IntegrationAppium, Test-Driven Development, and Continuous Integration
Appium, Test-Driven Development, and Continuous Integration
 
Webinar: DevOps challenges facing QA
Webinar: DevOps challenges facing QAWebinar: DevOps challenges facing QA
Webinar: DevOps challenges facing QA
 
50+ ways to improve tester - programmer relationship
50+ ways to improve tester - programmer relationship50+ ways to improve tester - programmer relationship
50+ ways to improve tester - programmer relationship
 

Andere mochten auch

Andere mochten auch (16)

Agile Adoption in Risk-Averse Environments
Agile Adoption in Risk-Averse EnvironmentsAgile Adoption in Risk-Averse Environments
Agile Adoption in Risk-Averse Environments
 
Testing Is the Profession I Chose
Testing Is the Profession I ChoseTesting Is the Profession I Chose
Testing Is the Profession I Chose
 
Emerging Product Owner Patterns in Large Organizations
Emerging Product Owner Patterns in Large OrganizationsEmerging Product Owner Patterns in Large Organizations
Emerging Product Owner Patterns in Large Organizations
 
Bugfest!
Bugfest!Bugfest!
Bugfest!
 
Our Journey to Agile in the Microsoft Developer Division
Our Journey to Agile in the Microsoft Developer DivisionOur Journey to Agile in the Microsoft Developer Division
Our Journey to Agile in the Microsoft Developer Division
 
Build the Right Regression Suite with Behavior-Driven Testing
Build the Right Regression Suite with Behavior-Driven TestingBuild the Right Regression Suite with Behavior-Driven Testing
Build the Right Regression Suite with Behavior-Driven Testing
 
Mobile Testing in the Cloud
Mobile Testing in the CloudMobile Testing in the Cloud
Mobile Testing in the Cloud
 
Using the Cloud to Load Test and Monitor Your Applications
Using the Cloud to Load Test and Monitor Your ApplicationsUsing the Cloud to Load Test and Monitor Your Applications
Using the Cloud to Load Test and Monitor Your Applications
 
Using DevOps to Improve Software Quality in the Cloud
Using DevOps to Improve Software Quality in the CloudUsing DevOps to Improve Software Quality in the Cloud
Using DevOps to Improve Software Quality in the Cloud
 
Lean Entrepreneurship for Software Professionals
Lean Entrepreneurship for Software ProfessionalsLean Entrepreneurship for Software Professionals
Lean Entrepreneurship for Software Professionals
 
Don't Bulldoze a Vibrant Ecosystem for Agile
Don't Bulldoze a Vibrant Ecosystem for AgileDon't Bulldoze a Vibrant Ecosystem for Agile
Don't Bulldoze a Vibrant Ecosystem for Agile
 
Going Agile? Three Conversations to Have Before You Start
Going Agile? Three Conversations to Have Before You StartGoing Agile? Three Conversations to Have Before You Start
Going Agile? Three Conversations to Have Before You Start
 
Harness the Power of Checklists
Harness the Power of ChecklistsHarness the Power of Checklists
Harness the Power of Checklists
 
Performance Testing Cloud-Based Systems
Performance Testing Cloud-Based SystemsPerformance Testing Cloud-Based Systems
Performance Testing Cloud-Based Systems
 
Mobile Applications Testing: From Concepts to Practice
Mobile Applications Testing: From Concepts to PracticeMobile Applications Testing: From Concepts to Practice
Mobile Applications Testing: From Concepts to Practice
 
Applying Lean Startup Principles to Agile Projects
Applying Lean Startup Principles to Agile ProjectsApplying Lean Startup Principles to Agile Projects
Applying Lean Startup Principles to Agile Projects
 

Ähnlich wie Accelerate Testing in Agile through a Shared Business Domain Language

Nishant Kumar_Resume
Nishant Kumar_ResumeNishant Kumar_Resume
Nishant Kumar_Resume
Nishant Kumar
 
Sridhar Shanmugam
Sridhar ShanmugamSridhar Shanmugam
Sridhar Shanmugam
Sridhar S
 

Ähnlich wie Accelerate Testing in Agile through a Shared Business Domain Language (20)

Shift Left - Approach and practices with IBM
Shift Left - Approach and practices with IBMShift Left - Approach and practices with IBM
Shift Left - Approach and practices with IBM
 
Use Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual TestingUse Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual Testing
 
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
 
Cloudtestr Webinar - 5 Ways to Maximize Test Automation Success
Cloudtestr Webinar - 5 Ways to Maximize Test Automation Success Cloudtestr Webinar - 5 Ways to Maximize Test Automation Success
Cloudtestr Webinar - 5 Ways to Maximize Test Automation Success
 
PARVATHY INDIRA
PARVATHY INDIRAPARVATHY INDIRA
PARVATHY INDIRA
 
Shifting Left: The Evolution of Test Automation
Shifting Left: The Evolution of Test AutomationShifting Left: The Evolution of Test Automation
Shifting Left: The Evolution of Test Automation
 
DevOps drivein - Mind the Gap
DevOps drivein - Mind the GapDevOps drivein - Mind the Gap
DevOps drivein - Mind the Gap
 
Practical DevOps
Practical DevOpsPractical DevOps
Practical DevOps
 
Meet Big Agile: Testing on Large-Scale Projects
Meet Big Agile: Testing on Large-Scale ProjectsMeet Big Agile: Testing on Large-Scale Projects
Meet Big Agile: Testing on Large-Scale Projects
 
Testing and DevOps: Organizations and Their Culture Must Change
Testing and DevOps: Organizations and Their Culture Must ChangeTesting and DevOps: Organizations and Their Culture Must Change
Testing and DevOps: Organizations and Their Culture Must Change
 
Nishant Kumar_Resume
Nishant Kumar_ResumeNishant Kumar_Resume
Nishant Kumar_Resume
 
How to Deliver Winning Mobile Apps
How to Deliver Winning Mobile AppsHow to Deliver Winning Mobile Apps
How to Deliver Winning Mobile Apps
 
DevOps: Where in the World Is Test?
DevOps: Where in the World Is Test?DevOps: Where in the World Is Test?
DevOps: Where in the World Is Test?
 
Sridhar Shanmugam
Sridhar ShanmugamSridhar Shanmugam
Sridhar Shanmugam
 
Suresh Veluguri_BA
Suresh Veluguri_BASuresh Veluguri_BA
Suresh Veluguri_BA
 
Achieving DevOps using Open Source Tools in the Enterprise
Achieving DevOps using Open Source Tools in the EnterpriseAchieving DevOps using Open Source Tools in the Enterprise
Achieving DevOps using Open Source Tools in the Enterprise
 
Animesh Chatterjee
Animesh Chatterjee Animesh Chatterjee
Animesh Chatterjee
 
Scaling Test first for the Enterprise
Scaling Test first for the EnterpriseScaling Test first for the Enterprise
Scaling Test first for the Enterprise
 
Pradeep_Radhakrishnan_H&M
Pradeep_Radhakrishnan_H&MPradeep_Radhakrishnan_H&M
Pradeep_Radhakrishnan_H&M
 
Implementing Azure DevOps with your Testing Project
Implementing Azure DevOps with your Testing ProjectImplementing Azure DevOps with your Testing Project
Implementing Azure DevOps with your Testing Project
 

Mehr von TechWell

Mehr von TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 
Scale: The Most Hyped Term in Agile Development Today
Scale: The Most Hyped Term in Agile Development TodayScale: The Most Hyped Term in Agile Development Today
Scale: The Most Hyped Term in Agile Development Today
 

Kürzlich hochgeladen

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
 
+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)

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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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
 
+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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Accelerate Testing in Agile through a Shared Business Domain Language

  • 1. T9 Test Automation 5/8/2014 11:15:00 AM Accelerate Testing in Agile through a Shared Business Domain Language Presented by: Laurent Py Smartesting Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
  • 2. Laurent Py Smartesting A founder and chief executive officer of Smartesting® Laurent Py began exploring advanced testing techniques in the 1990s and has extensive experience in software testing. Laurent also has a product management role for Zest, the new testing platform in the cloud, and is engaged with customers to ensure Smartesting products meet the needs of the next generation of developers and testers. He is passionate about lean startups and agility. For Laurent it’s all about using early feedback to test and validate assumptions as soon as possible.
  • 3. 26/04/2014 1 Laurent PY CEO, Smartesting Laurent.py@smartesting.com @py_laurent www.smartesting.com Defining a Shared Business Domain Language to accelerate testing in Agile Projects Our long and painful journey towards DevOps
  • 4. 26/04/2014 2 Product: CertifyIt, eclipse plug-in in JAVA (Model-Based-Testing) – Waterfall process – 1 release every 6 months – Few tests and no TDD – 1 month (x5 people) to do release testing before deployment – Poor quality impacting customers’ feedback and adoption Overview of our development process 2004/06 3 Product: CertifyIt, eclipse plug-in in JAVA (Model-Based-Testing) – First XP and then Scrum process – We do TDD – Continuous integration (code & unit test) – 1 customer release every 3 months (1 operation release every 3 weeks) – 1 man/month to do release testing before deployment – Good feedback from customers! Tasting agility end of 2006 4
  • 5. 26/04/2014 3 Product: Zest, testing platform in the cloud – Still Scrum process – We do TDD and – Acceptance Testing Driven Development (ATDD), 100% automated – Acceptance tests are part of the CI process – We do several deployments a day (≈10) Now we are experiencing DevOps - 2012 5 Shorter iterations (1 to 4 weeks) lead to massive test automation completed by exploratory testing Acceptance tests become the specification Testing starts earlier in the development process: Shift left! What we’ve learnt Req Management & Definition Test Planning Execution Defect management
  • 6. 26/04/2014 4 What we’ve learnt 7 To achieve this level of speed (DevOps context), acceptance tests should be: – Understandable to both developers and business experts to strengthen alignment and enable the ‘shift left’ – Maintainable to manage efficiently changes in requirements and keep pace with continuous deployment – Automated to enable rapid execution and feed-back ATDD with Business Domain Language and refactoring capabilities ATDD & Refactoring My view as product owner & tester: Acceptance tests need to be continually reviewed and refactored just like code!!! Martin Fowler
  • 7. 26/04/2014 5 Acceptance testing driven development Shift left PO developers testers Scrum master Scrum team Acceptance testingAcceptance testing Shift left Product Backlog Sprint Backlog Sprint 1 to 4 weeks Product at the end of the iteration Daily meeting
  • 8. 26/04/2014 6 Acceptance Testing Driven Development (ATDD) Acceptance test is a powerful artifact to improve communication Test as the definition of ‘STOP’ Written prior to development by tester Based on a business DSL (domain specific Language) Confirmed with stakeholders Mostly automated Test in natural language Test fixture Code Acceptance Testing Driven Development (ATDD) Benefits: – Improve communication and collaboration between project stakeholders – Shared understanding of what a successful implementation means – Better coverage of business expectations – Faster feed back Challenges: – New methodology that requires rigor and discipline – Find the right balance between people/process/tool
  • 9. 26/04/2014 7 Build your acceptance tests and DSL at the same time Key features: – Define progressively your Action Words and your business domain language for test authoring – Suggestion to promote the reuse of Action Word and avoid duplication – Refactoring: when an Action Word is modified, impacts are performed automatically across the tests – Optimization: inspection features enable to continuously optimize the acceptance tests – Create scripts and accelerate test automation (Ruby, Java, XML ) Integrations with: Zest: create acceptance tests with DSL 14 Watir, Appium
  • 10. 26/04/2014 8 Collaboration through acceptance tests & DSL 15 Product Owner Validate acceptance tests Tester Create acceptance Tests Developer Automate acceptance tests • DSL • Refactoring capabilities Define new business entities Define progressively your business terminology with Action Words. Enable collaboration based on acceptance tests.
  • 11. 26/04/2014 9 or define business entities right from the tests Promote test steps into Action Words (what developers call extract function). This is refactoring! Evils of duplication
  • 12. 26/04/2014 10 A fundamental principle Reuse, reuse and reuse Action Words! Create and maintain consistent scenarios for your project Suggestions
  • 13. 26/04/2014 11 Analyse and optimize continuously your tests When duplications are identified, refactoring options are suggested! Add, remove, modify Action Words and Scenarios Test refactoring enables to perform automatically impact analysis and test maintenance tasks Add parameters to Action WordAdd parameters to Action Word Propagate automatically to the scenarios Propagate automatically to the scenarios
  • 14. 26/04/2014 12 Generate scripts Use of Action Words significantly decrease the cost of automation and accelerate the overall testing cycle So your acceptance tests are Understandable Definition of business domain tests enable better alignment of the team Maintainable Refactoring and optimization features dramatically accelerate maintenance Can be automated Good design based on Action Words streamlines the test automation phase • DSL • Refactoring capabilities
  • 15. 26/04/2014 13 And remember Acceptance tests need to be continually reviewed and refactored just like code!!! Q&A Laurent PY CEO, Smartesting Laurent.py@smartesting.com @py_laurent www.smartesting.com