SlideShare a Scribd company logo
BE CUSTOMER CENTRIC
WITH
TEST FIRST DEVELOPMENT
By
Mamata Raote
1
WHAT IS CUSTOMER CENTRIC
2
CUSTOMER LIFETIME VALUE
(CLV) -MEASURES HOW MUCH PROFIT
YOUR CUSTOMERS WILL GENERATE DURING
THEIR RELATIONSHIP WITH YOUR
COMPANY
CUSTOMER
SATISFACTION(CSAT)
GIVES YOU A CLEAR VIEW OF HOW
CUSTOMERS LIKE THE EXPERIENCE WITH
YOUR BRAND AND ITS PRODUCTS AND
SERVICES
CUSTOMER CHURN RATE
REVEALS HOW MANY OFYOUR
CUSTOMERS HAVE STOPPED USING
YOUR PRODUCTS OR SERVICES
When your company sees the customer experience as
Absolutely core to what you do, you have a customer-
centric culture.
How we measure customer centricity?
3
Conclusions of 12 years of Service Delivery Gap Polls and Surveys, 2002-2014
The Service Delivery Gap You Are Missing (linkedin.com)
WHAT’S THE
REALITY?
Business misunderstood
Unawareness of Big Picture
Product not as per customer expectations
System got sour
Loss of customer trust
HOW WE STARTED THINKING TEST-FIRST ?
4
BEHAVIOR DRIVEN DEVELOPMENT (DAN NORTH-2006)
5
• BDD is a collaborative approach to software development that
bridges the communication gap between business and IT.
HOW
• The primary purpose of BDD is – “Building the right software” Collaboration Predictability
Requirements
Clarity
Quality
Gherkin – with example mapping
WHY BDD?
Feature: User trades stocks
As a user I should be able to sell my stocks online
Scenario: User requests a sell before close of trading
Given I have 100 shares of MSFT stock
And I have 150 shares of APPL stock
And the time is before close of trading
When I ask to sell 20 shares of MSFT stock
Then I should have 80 shares of MSFT stock
And I should have 150 shares of APPL stock
And a sell order for 20 shares of MSFT stock should
have been executed
HOW DID WE APPLY BDD?
6
Step Definition Contains definition of the steps written in feature file.
@Given("I have {int} shares of {string} stock")
public void i_have_shares_of_stock(Integer int1, String string) {
//here code to validate this steps is written
}
@Given("the time is before close of trading")
public void the_time_is_before_close_of_trading() {
//here code to validate this steps is written
}
Feature: User trades stocks
Scenario: User requests a sell before close of trading
Given I have 100 shares of “MSFT “stock
And I have 150 shares of “APPL” stock
And the time is before close of trading
7
HOW WE MATURED IN BDD?
We started addressing from
user story refinement
sessions with 3 Amigos
With collaborative
approach we documented
acceptance scenarios in
Given When Then Format
with example mapping
technique.
Examples in scenario
became test data for testing
team and input for
development team in their
unit test cases.
Initially testing team started
with manual test cases
aligning with scenarios in
each user story.
Developers aligned their
development to satisfy each
scenario for user story.
Adopted automation by
writing automation scripts
in step definition file for
each feature file.
While discussing new
requirements also refined
existing feature which we
enhanced and documented
it in feature file.
Automated existing feature
scenarios too.
Eventually entire legacy
feature was automated with
cucumber steps.
Team became more
comfortable to add new
enhancement as outcome
was more predictable than
before.
TEST DRIVEN DEVELOPMENT , TDD (ORIGINAL DEVELOPER:KENT BECK-LATE 1990S)
8
WHAT: Test-Driven Development (TDD) is a technique for building software
that guides software development by writing tests-Martin Fowler
HOW
WHY TDD ?
Good
Design
Less
Defects
Better test
quality
Lesser
Time
Easy to
Refactor
More
Focus
Tests act as documentation for developers
@Test
public void shouldReturnStockQuantityForGivenStockName(){
int quantity = stockService.getStockQuantityByStockName("APPL");
Assert.assertEquals(100, quantity);
}
@Test
public void shouldReturnZeroStockQuantityForInvalidStockName(){
int quantity = stockService.getStockQuantityByStockName(“XYZ");
Assert.assertEquals(0, quantity);
}
HOW DID WE APPLY TDD?
9
Trained team on following technical skills:
• Art of Unit Testing
• TDD with 3 rules
• Test Doubles
• Refactoring skills
Best practices team followed:
How we matured in TDD?
Map unit tests to
user stories
Readable unit
tests with right
validation
Failed unit test
wont promote
build
Bugs to be fixed
with test written
first
Dependency
discovery
should result in
tests
Started with unit testing
Followed pair programming
Refactored legacy code by adding tests
Every new code started with test first
Enhanced refactoring skills
Imbibed clean code principles
TDD VS BDD ?
10
Spec
Test
Code
BDD is Outside in TDD is Inside out
Its not TDD vs BDD but BDD with TDD
Arrive at test pyramid for each story
SUMMARY
11
Test-first is customer-centric
Re-engineering the organization’s internal processes is
about adopting a customer centric Agile culture.
In current competitive world, organizations that focus on
agile, DevOps, and test-first strategies such as TDD and
BDD will have a competitive edge over those that do not.
That's why test-first methodologies are more important
than ever
REFERENCES
• https://dannorth.net/2012/05/31/bdd-is-like-tdd-if/
• https://testguild.com/wow-customers-tdd-bdd/
• https://www.superoffice.com/blog/how-to-create-a-customer-centric
strategy/#:~:text=Customer%2Dcentric%20is%20an%20approach,profit%
20and%20gain%20competitive%20advantage
• https://www.linkedin.com/pulse/20140602114924-13943480-the-service-
delivery-gap-you-are-missing/
• https://www.i-scoop.eu/customer-centricity/
12
THANK YOU
13

More Related Content

What's hot

Agile tester 3.0
Agile tester 3.0Agile tester 3.0
Agile tester 3.0
Daniel Amorim
 
Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteriaSoftheme
 
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
Agile Testing Alliance
 
Continuous delivery xebia
Continuous delivery xebiaContinuous delivery xebia
Continuous delivery xebia
AgileNCR2016
 
Building Cross-Functional Scrum-Teams in a Hardware Project
Building Cross-Functional Scrum-Teams in a Hardware ProjectBuilding Cross-Functional Scrum-Teams in a Hardware Project
Building Cross-Functional Scrum-Teams in a Hardware Project
Stephanie Gasche
 
XStudio in a nutshell
XStudio in a nutshellXStudio in a nutshell
XStudio in a nutshell
Eric Gavaldo
 
Definition of done training
Definition of done trainingDefinition of done training
Definition of done training
Monica Yap
 
Experimentation Excellence: Mastering the basics
Experimentation Excellence: Mastering the basicsExperimentation Excellence: Mastering the basics
Experimentation Excellence: Mastering the basics
Optimizely
 
Seven elements of technical Agility - Gil Broza - Agile Israel 2013
Seven elements of technical Agility - Gil Broza - Agile Israel 2013Seven elements of technical Agility - Gil Broza - Agile Israel 2013
Seven elements of technical Agility - Gil Broza - Agile Israel 2013AgileSparks
 
What is Agile Testing?
What is Agile Testing?What is Agile Testing?
What is Agile Testing?
Anand Bagmar
 
Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinement
Christian Vos
 
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
Declan Whelan
 
XStudio supports agile and sdlc projects
XStudio supports agile and sdlc projectsXStudio supports agile and sdlc projects
XStudio supports agile and sdlc projects
Eric Gavaldo
 
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
Agile Testing Alliance
 
What is Agile Testing?
What is Agile Testing? What is Agile Testing?
What is Agile Testing?
Dr. Alexander Schwartz
 
Are we done yet?
Are we done yet?Are we done yet?
Are we done yet?
Richard Cheng
 
Understanding Agile 11x17
Understanding Agile 11x17Understanding Agile 11x17
Understanding Agile 11x17Nigel Thurlow
 
Future of Testing, Test Automation and The Quality Analyst
Future of Testing, Test Automation and The Quality AnalystFuture of Testing, Test Automation and The Quality Analyst
Future of Testing, Test Automation and The Quality Analyst
Anand Bagmar
 
Why You Don't Want to be a Tester; an agile discussion
Why You Don't Want to be a Tester; an agile discussionWhy You Don't Want to be a Tester; an agile discussion
Why You Don't Want to be a Tester; an agile discussion
Brett Tramposh
 

What's hot (20)

Agile tester 3.0
Agile tester 3.0Agile tester 3.0
Agile tester 3.0
 
Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteria
 
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
 
Continuous delivery xebia
Continuous delivery xebiaContinuous delivery xebia
Continuous delivery xebia
 
Building Cross-Functional Scrum-Teams in a Hardware Project
Building Cross-Functional Scrum-Teams in a Hardware ProjectBuilding Cross-Functional Scrum-Teams in a Hardware Project
Building Cross-Functional Scrum-Teams in a Hardware Project
 
XStudio in a nutshell
XStudio in a nutshellXStudio in a nutshell
XStudio in a nutshell
 
Definition of done training
Definition of done trainingDefinition of done training
Definition of done training
 
Experimentation Excellence: Mastering the basics
Experimentation Excellence: Mastering the basicsExperimentation Excellence: Mastering the basics
Experimentation Excellence: Mastering the basics
 
Seven elements of technical Agility - Gil Broza - Agile Israel 2013
Seven elements of technical Agility - Gil Broza - Agile Israel 2013Seven elements of technical Agility - Gil Broza - Agile Israel 2013
Seven elements of technical Agility - Gil Broza - Agile Israel 2013
 
What is Agile Testing?
What is Agile Testing?What is Agile Testing?
What is Agile Testing?
 
Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinement
 
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
 
Test Driven Agile
Test Driven AgileTest Driven Agile
Test Driven Agile
 
XStudio supports agile and sdlc projects
XStudio supports agile and sdlc projectsXStudio supports agile and sdlc projects
XStudio supports agile and sdlc projects
 
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
 
What is Agile Testing?
What is Agile Testing? What is Agile Testing?
What is Agile Testing?
 
Are we done yet?
Are we done yet?Are we done yet?
Are we done yet?
 
Understanding Agile 11x17
Understanding Agile 11x17Understanding Agile 11x17
Understanding Agile 11x17
 
Future of Testing, Test Automation and The Quality Analyst
Future of Testing, Test Automation and The Quality AnalystFuture of Testing, Test Automation and The Quality Analyst
Future of Testing, Test Automation and The Quality Analyst
 
Why You Don't Want to be a Tester; an agile discussion
Why You Don't Want to be a Tester; an agile discussionWhy You Don't Want to be a Tester; an agile discussion
Why You Don't Want to be a Tester; an agile discussion
 

Similar to Agile Network India | Be Customer Centric with Test First Development | Mamata Raote

Specification-by-Example: A Cucumber Implementation
Specification-by-Example: A Cucumber ImplementationSpecification-by-Example: A Cucumber Implementation
Specification-by-Example: A Cucumber Implementation
TechWell
 
Lean Stack - A Story Of Continuous Improvement
Lean Stack - A Story Of Continuous ImprovementLean Stack - A Story Of Continuous Improvement
Lean Stack - A Story Of Continuous Improvement
Lukas Fittl
 
Practical Software Quality and Testing
Practical Software Quality and TestingPractical Software Quality and Testing
Practical Software Quality and Testingjerrykprague
 
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
Agile Testing Alliance
 
How to run an Enterprise PHP Shop
How to run an Enterprise PHP ShopHow to run an Enterprise PHP Shop
How to run an Enterprise PHP Shop
Jim Plush
 
Deepthi DS_Business Analyst & Test Lead_Resume
Deepthi DS_Business Analyst & Test Lead_ResumeDeepthi DS_Business Analyst & Test Lead_Resume
Deepthi DS_Business Analyst & Test Lead_ResumeDeepthi D S
 
Measuring Sprint review
Measuring Sprint reviewMeasuring Sprint review
Measuring Sprint review
Rohit Midha
 
Test Everything: TrustRadius Delivers Customer Value with Experimentation
Test Everything: TrustRadius Delivers Customer Value with ExperimentationTest Everything: TrustRadius Delivers Customer Value with Experimentation
Test Everything: TrustRadius Delivers Customer Value with Experimentation
Optimizely
 
Improving our Approach Towards Capturing Value in Requirements
Improving our Approach Towards Capturing Value in RequirementsImproving our Approach Towards Capturing Value in Requirements
Improving our Approach Towards Capturing Value in Requirements
Osama M. Khaled
 
Startup Product Development
Startup Product DevelopmentStartup Product Development
Startup Product Development
Aaron Stannard
 
Tailoring the DITA Suit to Fit
Tailoring the DITA Suit to FitTailoring the DITA Suit to Fit
Tailoring the DITA Suit to Fit
Salesforce Engineering
 
[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
KMS Technology
 
Workshop: Behavior Driven Development - Deliver value by Naveen Kumar Singh
Workshop: Behavior Driven Development - Deliver value by Naveen Kumar SinghWorkshop: Behavior Driven Development - Deliver value by Naveen Kumar Singh
Workshop: Behavior Driven Development - Deliver value by Naveen Kumar Singh
Agile ME
 
Requirements Management Booklet Pages
Requirements Management Booklet PagesRequirements Management Booklet Pages
Requirements Management Booklet PagesTonda MacLeod
 
Lean and agile 2011 04 15
Lean and agile 2011 04 15Lean and agile 2011 04 15
Lean and agile 2011 04 15
gordonguthrie99
 
Acceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDDAcceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDDLaurent PY
 
How to Best Develop a Product by PlateRate Founder
How to Best Develop a Product by PlateRate FounderHow to Best Develop a Product by PlateRate Founder
How to Best Develop a Product by PlateRate Founder
Product School
 
From Monoliths to Microservices at Realestate.com.au
From Monoliths to Microservices at Realestate.com.auFrom Monoliths to Microservices at Realestate.com.au
From Monoliths to Microservices at Realestate.com.au
evanbottcher
 

Similar to Agile Network India | Be Customer Centric with Test First Development | Mamata Raote (20)

Specification-by-Example: A Cucumber Implementation
Specification-by-Example: A Cucumber ImplementationSpecification-by-Example: A Cucumber Implementation
Specification-by-Example: A Cucumber Implementation
 
Lean Stack - A Story Of Continuous Improvement
Lean Stack - A Story Of Continuous ImprovementLean Stack - A Story Of Continuous Improvement
Lean Stack - A Story Of Continuous Improvement
 
Practical Software Quality and Testing
Practical Software Quality and TestingPractical Software Quality and Testing
Practical Software Quality and Testing
 
Resume-Sridhar
Resume-SridharResume-Sridhar
Resume-Sridhar
 
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
 
How to run an Enterprise PHP Shop
How to run an Enterprise PHP ShopHow to run an Enterprise PHP Shop
How to run an Enterprise PHP Shop
 
Deepthi DS_Business Analyst & Test Lead_Resume
Deepthi DS_Business Analyst & Test Lead_ResumeDeepthi DS_Business Analyst & Test Lead_Resume
Deepthi DS_Business Analyst & Test Lead_Resume
 
Measuring Sprint review
Measuring Sprint reviewMeasuring Sprint review
Measuring Sprint review
 
Test Everything: TrustRadius Delivers Customer Value with Experimentation
Test Everything: TrustRadius Delivers Customer Value with ExperimentationTest Everything: TrustRadius Delivers Customer Value with Experimentation
Test Everything: TrustRadius Delivers Customer Value with Experimentation
 
Improving our Approach Towards Capturing Value in Requirements
Improving our Approach Towards Capturing Value in RequirementsImproving our Approach Towards Capturing Value in Requirements
Improving our Approach Towards Capturing Value in Requirements
 
Startup Product Development
Startup Product DevelopmentStartup Product Development
Startup Product Development
 
Apex Unit Testing in the Real World
Apex Unit Testing in the Real WorldApex Unit Testing in the Real World
Apex Unit Testing in the Real World
 
Tailoring the DITA Suit to Fit
Tailoring the DITA Suit to FitTailoring the DITA Suit to Fit
Tailoring the DITA Suit to Fit
 
[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
 
Workshop: Behavior Driven Development - Deliver value by Naveen Kumar Singh
Workshop: Behavior Driven Development - Deliver value by Naveen Kumar SinghWorkshop: Behavior Driven Development - Deliver value by Naveen Kumar Singh
Workshop: Behavior Driven Development - Deliver value by Naveen Kumar Singh
 
Requirements Management Booklet Pages
Requirements Management Booklet PagesRequirements Management Booklet Pages
Requirements Management Booklet Pages
 
Lean and agile 2011 04 15
Lean and agile 2011 04 15Lean and agile 2011 04 15
Lean and agile 2011 04 15
 
Acceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDDAcceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDD
 
How to Best Develop a Product by PlateRate Founder
How to Best Develop a Product by PlateRate FounderHow to Best Develop a Product by PlateRate Founder
How to Best Develop a Product by PlateRate Founder
 
From Monoliths to Microservices at Realestate.com.au
From Monoliths to Microservices at Realestate.com.auFrom Monoliths to Microservices at Realestate.com.au
From Monoliths to Microservices at Realestate.com.au
 

More from AgileNetwork

ANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana Sharma
ANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana SharmaANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana Sharma
ANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana Sharma
AgileNetwork
 
ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...
ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...
ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...
AgileNetwork
 
ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...
ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...
ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...
AgileNetwork
 
ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...
ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...
ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...
AgileNetwork
 
ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...
ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...
ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...
AgileNetwork
 
ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...
ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...
ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...
AgileNetwork
 
ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...
ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...
ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...
AgileNetwork
 
ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...
ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...
ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...
AgileNetwork
 
ANIn Chennai May 2023 | Technical Agility by Arunmozhi Varman
ANIn Chennai May 2023 | Technical Agility by Arunmozhi VarmanANIn Chennai May 2023 | Technical Agility by Arunmozhi Varman
ANIn Chennai May 2023 | Technical Agility by Arunmozhi Varman
AgileNetwork
 
ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...
ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...
ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...
AgileNetwork
 
ANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit Tandon
ANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit TandonANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit Tandon
ANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit Tandon
AgileNetwork
 
ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...
ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...
ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...
AgileNetwork
 
ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...
ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...
ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...
AgileNetwork
 
ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...
ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...
ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...
AgileNetwork
 
ANIn Mumbai May 2024 | Measuring Business Agility by Prashant Neharkar
ANIn Mumbai May 2024 | Measuring Business Agility by Prashant NeharkarANIn Mumbai May 2024 | Measuring Business Agility by Prashant Neharkar
ANIn Mumbai May 2024 | Measuring Business Agility by Prashant Neharkar
AgileNetwork
 
ANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik Patel
ANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik PatelANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik Patel
ANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik Patel
AgileNetwork
 
ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...
ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...
ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...
AgileNetwork
 
ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...
ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...
ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...
AgileNetwork
 
ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...
ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...
ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...
AgileNetwork
 
ANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by Kunal
ANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by KunalANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by Kunal
ANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by Kunal
AgileNetwork
 

More from AgileNetwork (20)

ANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana Sharma
ANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana SharmaANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana Sharma
ANIn Ahmedabad June 2024 | Metrics in Agile Business by Angana Sharma
 
ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...
ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...
ANIn Ahmedabad June 2024 | Business outcomes directly proportional to mindset...
 
ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...
ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...
ANIn Coimbatore May 2024 | Being Agile - Fortifying the GenZ Workforce by Sar...
 
ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...
ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...
ANIn Coimbatore May 2024 | Skills for the Evolving IT landscape by Meena Subr...
 
ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...
ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...
ANIn Delhi Feb 2022 | Design the Future with Technology Disruption by N Kisho...
 
ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...
ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...
ANIn Ahmedabad Jan 2023 | Discovery is not a phase in being Agile its, "The A...
 
ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...
ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...
ANIn Ahmedabad April 2023 | Importance of agile and how it can be Implemented...
 
ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...
ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...
ANIn Chennai May 2023 | Navigating the Rapids: Embracing Agility to Conquer E...
 
ANIn Chennai May 2023 | Technical Agility by Arunmozhi Varman
ANIn Chennai May 2023 | Technical Agility by Arunmozhi VarmanANIn Chennai May 2023 | Technical Agility by Arunmozhi Varman
ANIn Chennai May 2023 | Technical Agility by Arunmozhi Varman
 
ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...
ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...
ANIn Bengaluru May 2023 | The Role of AI in Business Agility by Rajkumar Vara...
 
ANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit Tandon
ANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit TandonANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit Tandon
ANIn Bengaluru May 2023 | AI led Enterprise Transformation by Arpit Tandon
 
ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...
ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...
ANIn Navi Mumbai Jan 2023 | Agile project development -"A Journey" by Indulek...
 
ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...
ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...
ANIn Pune May 2024 | Best practices in testing of AI based SaMD by Anupama An...
 
ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...
ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...
ANIn Ahmedabad May 2024 | Sailing the Agile seas Leveraging Business Prioriti...
 
ANIn Mumbai May 2024 | Measuring Business Agility by Prashant Neharkar
ANIn Mumbai May 2024 | Measuring Business Agility by Prashant NeharkarANIn Mumbai May 2024 | Measuring Business Agility by Prashant Neharkar
ANIn Mumbai May 2024 | Measuring Business Agility by Prashant Neharkar
 
ANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik Patel
ANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik PatelANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik Patel
ANIn Ahmedabad May 2024 | Reusability Using Agile by Pratik Patel
 
ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...
ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...
ANIn Chennai April 2024 |Agile Engineering: Modernizing Legacy Systems by Ana...
 
ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...
ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...
ANIn Chennai April 2024 |Beyond Big Bang: Technical Agility in Vintage Produc...
 
ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...
ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...
ANIn Gurugram April 2024 |Agile Adaptation: Driving Progress in Generative AI...
 
ANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by Kunal
ANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by KunalANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by Kunal
ANIn Noida Oct 2023 |AI Usage in Agile Transformation Journey by Kunal
 

Recently uploaded

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 

Recently uploaded (20)

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

Agile Network India | Be Customer Centric with Test First Development | Mamata Raote

  • 1. BE CUSTOMER CENTRIC WITH TEST FIRST DEVELOPMENT By Mamata Raote 1
  • 2. WHAT IS CUSTOMER CENTRIC 2 CUSTOMER LIFETIME VALUE (CLV) -MEASURES HOW MUCH PROFIT YOUR CUSTOMERS WILL GENERATE DURING THEIR RELATIONSHIP WITH YOUR COMPANY CUSTOMER SATISFACTION(CSAT) GIVES YOU A CLEAR VIEW OF HOW CUSTOMERS LIKE THE EXPERIENCE WITH YOUR BRAND AND ITS PRODUCTS AND SERVICES CUSTOMER CHURN RATE REVEALS HOW MANY OFYOUR CUSTOMERS HAVE STOPPED USING YOUR PRODUCTS OR SERVICES When your company sees the customer experience as Absolutely core to what you do, you have a customer- centric culture. How we measure customer centricity?
  • 3. 3 Conclusions of 12 years of Service Delivery Gap Polls and Surveys, 2002-2014 The Service Delivery Gap You Are Missing (linkedin.com) WHAT’S THE REALITY? Business misunderstood Unawareness of Big Picture Product not as per customer expectations System got sour Loss of customer trust
  • 4. HOW WE STARTED THINKING TEST-FIRST ? 4
  • 5. BEHAVIOR DRIVEN DEVELOPMENT (DAN NORTH-2006) 5 • BDD is a collaborative approach to software development that bridges the communication gap between business and IT. HOW • The primary purpose of BDD is – “Building the right software” Collaboration Predictability Requirements Clarity Quality Gherkin – with example mapping WHY BDD? Feature: User trades stocks As a user I should be able to sell my stocks online Scenario: User requests a sell before close of trading Given I have 100 shares of MSFT stock And I have 150 shares of APPL stock And the time is before close of trading When I ask to sell 20 shares of MSFT stock Then I should have 80 shares of MSFT stock And I should have 150 shares of APPL stock And a sell order for 20 shares of MSFT stock should have been executed
  • 6. HOW DID WE APPLY BDD? 6 Step Definition Contains definition of the steps written in feature file. @Given("I have {int} shares of {string} stock") public void i_have_shares_of_stock(Integer int1, String string) { //here code to validate this steps is written } @Given("the time is before close of trading") public void the_time_is_before_close_of_trading() { //here code to validate this steps is written } Feature: User trades stocks Scenario: User requests a sell before close of trading Given I have 100 shares of “MSFT “stock And I have 150 shares of “APPL” stock And the time is before close of trading
  • 7. 7 HOW WE MATURED IN BDD? We started addressing from user story refinement sessions with 3 Amigos With collaborative approach we documented acceptance scenarios in Given When Then Format with example mapping technique. Examples in scenario became test data for testing team and input for development team in their unit test cases. Initially testing team started with manual test cases aligning with scenarios in each user story. Developers aligned their development to satisfy each scenario for user story. Adopted automation by writing automation scripts in step definition file for each feature file. While discussing new requirements also refined existing feature which we enhanced and documented it in feature file. Automated existing feature scenarios too. Eventually entire legacy feature was automated with cucumber steps. Team became more comfortable to add new enhancement as outcome was more predictable than before.
  • 8. TEST DRIVEN DEVELOPMENT , TDD (ORIGINAL DEVELOPER:KENT BECK-LATE 1990S) 8 WHAT: Test-Driven Development (TDD) is a technique for building software that guides software development by writing tests-Martin Fowler HOW WHY TDD ? Good Design Less Defects Better test quality Lesser Time Easy to Refactor More Focus Tests act as documentation for developers @Test public void shouldReturnStockQuantityForGivenStockName(){ int quantity = stockService.getStockQuantityByStockName("APPL"); Assert.assertEquals(100, quantity); } @Test public void shouldReturnZeroStockQuantityForInvalidStockName(){ int quantity = stockService.getStockQuantityByStockName(“XYZ"); Assert.assertEquals(0, quantity); }
  • 9. HOW DID WE APPLY TDD? 9 Trained team on following technical skills: • Art of Unit Testing • TDD with 3 rules • Test Doubles • Refactoring skills Best practices team followed: How we matured in TDD? Map unit tests to user stories Readable unit tests with right validation Failed unit test wont promote build Bugs to be fixed with test written first Dependency discovery should result in tests Started with unit testing Followed pair programming Refactored legacy code by adding tests Every new code started with test first Enhanced refactoring skills Imbibed clean code principles
  • 10. TDD VS BDD ? 10 Spec Test Code BDD is Outside in TDD is Inside out Its not TDD vs BDD but BDD with TDD Arrive at test pyramid for each story
  • 11. SUMMARY 11 Test-first is customer-centric Re-engineering the organization’s internal processes is about adopting a customer centric Agile culture. In current competitive world, organizations that focus on agile, DevOps, and test-first strategies such as TDD and BDD will have a competitive edge over those that do not. That's why test-first methodologies are more important than ever
  • 12. REFERENCES • https://dannorth.net/2012/05/31/bdd-is-like-tdd-if/ • https://testguild.com/wow-customers-tdd-bdd/ • https://www.superoffice.com/blog/how-to-create-a-customer-centric strategy/#:~:text=Customer%2Dcentric%20is%20an%20approach,profit% 20and%20gain%20competitive%20advantage • https://www.linkedin.com/pulse/20140602114924-13943480-the-service- delivery-gap-you-are-missing/ • https://www.i-scoop.eu/customer-centricity/ 12