SlideShare a Scribd company logo
1 of 8
SimpleOpen BDD Method
Powered by Excel
A New Behavior-Driven Development Method
Only 6 Pages, Specification by Example
Author: Mike Zhang
2021/4/6
An Gherkin BDD Example
• Title: Returns and exchanges go to inventory.
• As a store owner,
• I want to add items back to inventory when they are returned or
exchanged,
• so that I can track inventory.
• Scenario 1: Items returned for refund should be added to inventory.
• Given that a customer previously bought a black sweater from me
• and I have three black sweaters in inventory,
• when they return the black sweater for a refund,
• then I should have four black sweaters in inventory.
from https://en.wikipedia.org/wiki/Behavior-driven_development
Describe Example in Excel
• Template
No. Step Sub-Step(optional
for complex step)
Parameter
Name
Parameter
Value1
Parameter
Value2
Parameter
Value3
Parameter
Value4
1
2
3
4
Convert the example by Excel template
No. Step Parameter Name Parameter
Value1
Parameter
Value2
Parameter
Value3
1 a customer previously
bought [right
parameter] black
sweater from me
BlackSweaterCountAtCustomer 1 3 4
2 I have [right parameter]
black sweaters in
inventory,
BlackSweaterCountInInvertory1 3 10 2
3 they return [right
parameter] black
sweater for a refund
BlackSweaterCountReturned 1 2 2
4 I should have [right
parameter] black
sweaters in inventory
BlackSweaterCountInInvertory2 4 12 4
Load Example into test data
• Now almost every programming language has Excel functions.
• Below is a PowerShell example to read the previous excel
• $ExampleList = Get-ZmExampleList -ExcelPath ".ExcelExample1.xlsx" -WorksheetName 'Scenario1’
• Get-ZmExampleList is a customized function which read a Worksheet into a Hashtable List, $ExampleList is displayed by json format as below
[
{
"BlackSweaterCountAtCustomer": "1",
"BlackSweaterCountInInvertory1": "3",
"BlackSweaterCountReturned": "1",
"BlackSweaterCountInInvertory2": "4"
},
{
"BlackSweaterCountAtCustomer": "3",
"BlackSweaterCountInInvertory1": "10",
"BlackSweaterCountReturned": "2",
"BlackSweaterCountInInvertory2": "12"
},
{
"BlackSweaterCountAtCustomer": "4",
"BlackSweaterCountInInvertory1": "2",
"BlackSweaterCountReturned": "2",
"BlackSweaterCountInInvertory2": "4"
}
]
• If need source code of Get-ZmExampleList, please connect author.
Use example data in test
• PowerShell and Pester are very convenient to use Hashtable list as
test data, just as the above example
• For other languages, there should be at least one way to organize
parameterized test cases from Excel
Comparison
Problem BDD by Gherkin New SimpleOpen BDD by Excel
Learn Gherkin is easy, but still need syntax
and a small learning curve.
Excel need no learning curve
Easy to edit for dev/test/PO/BA and end user
More Examples Hard to expand to table in text format
file
Easy to expand more examples by more
parameter values by sheet
End user don’t
express by Gherkin
way
if end user just express requirements
by their way, especially business
stakeholder, converting from end
user’s output to Gherkin style is time-
consuming.
End user can’t reject Excel, they like to use
Excel to express what they need precisely
End user don’t use
Git
The author of Example by Gherkin need
Git skill which maybe an impediment
for end user at business side.
development team need synchronize to
Git. Somewhat more efforts.
Let end user edit Excel or use wiki which
supports table.
Then Synchronize examples into excel in Git,
which should be just copy/paste, easily
synchronized
About author: Mike Zhang/Zhang Keqiang
Agile /DevOps /Product manager
Email: zhangkq2000@hotmail.com
Twitter: MikeZhang307
WeChat:zhangmike
Overview
Mr. Zhang Keqiang has mainly experienced in agile
transformation, DevOps construction,
organizational process improvement, quality
assurance and testing, with the reference to Agile,
XP, Scrum, CMMI, Kanban and Scrumban and so on.
In the last 3 years, he has gone deep into the
bridging between IT and the business, and
conducted many business agile practices, such as
minimum business increment(MBI), business lead
time, qualitative and quantitative analysis of
production effects, business multi-layer Kanban,
and so on. the organization's digital transformation
is really be implemented with business outcome.
Agile & DevOps Expert
The time of agile has come. As information is moving at the
speed of light, most organizations are still operating with a
structure and leadership style from 1970s - the dawn of
Industrial 3.0 era. These organizations must go through deep
overhauls in leaders’ consciousness, style and structure in
order to compete in today’s creative economy era.
Since the introduction of agile in the context of
CMMI5 in 2008, in 2009 to obtain the CSM
certificate, Mr. Zhang has been working in agile
organization transformation and improvement, as
EPG Lead, as enterprise executive director, but also
as external coach. He conducts not only agile
management practices, but also agile engineering
practices, such as continuous integration, DevOps
practices, and business agility practices
Original methods
• December 2019, ScrumBan Simple Open edition,
which mixed Scrum and Kanban, see link
• December 2018, requirements flow model
• In November 2018, Egg estimation
• January 2018, Agile Usecase
• The first Scrumban (i.e. Scrum-Kanban Hybrid)
case analysis report in China was released 2017.
• In December 2017, Test-Driven Debugging
• July 2017, story positioning method
Early Careers
Ms. Zhang had worked as a test manager, EPG lead,
project director at Baosight, QA manager at Intel,
senior consultant at DNV & inspearit, EPG Lead
and enterprise architecture head at 99bill. He once
was the Executive Director of Tsjinrong.
Academic Background, Experiences
and Awards
• Bachelor's and Master's degrees in Electrical
Engineering, Tsinghua University, Beijing
• Beijing Science and Technology Progress Third
Prize - Internet Ladder Multimedia Distance
Education Common Platform (2001.12)
• 2004 Shanghai excellent mentor from Shanghai
Labor and Social Security Bureau
• 2010 Shanghai software industry role model

More Related Content

What's hot

Flipkart, amazon, snapdeal SWOT analysis
Flipkart, amazon, snapdeal SWOT analysisFlipkart, amazon, snapdeal SWOT analysis
Flipkart, amazon, snapdeal SWOT analysisSankalp Meshram
 
Dunzo Case Study.pdf
Dunzo Case Study.pdfDunzo Case Study.pdf
Dunzo Case Study.pdfujwal67
 
Pwc supplier-relationship-management
Pwc supplier-relationship-managementPwc supplier-relationship-management
Pwc supplier-relationship-managementDr Lendy Spires
 
What is Product Management ?
What is Product Management ?What is Product Management ?
What is Product Management ?Charles Loumeau
 
Deploying a Voice of the Customer (VoC) Program
Deploying a Voice of the Customer (VoC) ProgramDeploying a Voice of the Customer (VoC) Program
Deploying a Voice of the Customer (VoC) ProgramAvtex
 
Vendor Management - An Overview (Project PPT)
Vendor Management - An Overview (Project PPT)Vendor Management - An Overview (Project PPT)
Vendor Management - An Overview (Project PPT)Jyoti Kumari
 
Understanding Voice of Customer
Understanding Voice of CustomerUnderstanding Voice of Customer
Understanding Voice of Customerrahul arora
 
Byju's business canvas model
Byju's business canvas modelByju's business canvas model
Byju's business canvas modelamritesh Ps
 
Supplier Relationship Management (SRM) Research 2012-2013
Supplier Relationship Management (SRM) Research 2012-2013Supplier Relationship Management (SRM) Research 2012-2013
Supplier Relationship Management (SRM) Research 2012-2013salleijn
 
Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...
Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...
Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...Accenture México
 
Mass customization and strategies
Mass customization and  strategiesMass customization and  strategies
Mass customization and strategiesBhuwan Pandey
 

What's hot (11)

Flipkart, amazon, snapdeal SWOT analysis
Flipkart, amazon, snapdeal SWOT analysisFlipkart, amazon, snapdeal SWOT analysis
Flipkart, amazon, snapdeal SWOT analysis
 
Dunzo Case Study.pdf
Dunzo Case Study.pdfDunzo Case Study.pdf
Dunzo Case Study.pdf
 
Pwc supplier-relationship-management
Pwc supplier-relationship-managementPwc supplier-relationship-management
Pwc supplier-relationship-management
 
What is Product Management ?
What is Product Management ?What is Product Management ?
What is Product Management ?
 
Deploying a Voice of the Customer (VoC) Program
Deploying a Voice of the Customer (VoC) ProgramDeploying a Voice of the Customer (VoC) Program
Deploying a Voice of the Customer (VoC) Program
 
Vendor Management - An Overview (Project PPT)
Vendor Management - An Overview (Project PPT)Vendor Management - An Overview (Project PPT)
Vendor Management - An Overview (Project PPT)
 
Understanding Voice of Customer
Understanding Voice of CustomerUnderstanding Voice of Customer
Understanding Voice of Customer
 
Byju's business canvas model
Byju's business canvas modelByju's business canvas model
Byju's business canvas model
 
Supplier Relationship Management (SRM) Research 2012-2013
Supplier Relationship Management (SRM) Research 2012-2013Supplier Relationship Management (SRM) Research 2012-2013
Supplier Relationship Management (SRM) Research 2012-2013
 
Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...
Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...
Industria de Seguros Nueva TI para la Estrategia de Transformación Tecnológic...
 
Mass customization and strategies
Mass customization and  strategiesMass customization and  strategies
Mass customization and strategies
 

Similar to SimpleOpen BDD Method Powered by Excel

Leading Your Business Customer
Leading Your Business Customer Leading Your Business Customer
Leading Your Business Customer Dean Stevens
 
Episode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and InterfacesEpisode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and InterfacesJitendra Zaa
 
MBA 504 Module Four Power BI Assignment User Manual M
MBA 504 Module Four Power BI Assignment User Manual  MMBA 504 Module Four Power BI Assignment User Manual  M
MBA 504 Module Four Power BI Assignment User Manual MAbramMartino96
 
Moving away from legacy code with BDD
Moving away from legacy code with BDDMoving away from legacy code with BDD
Moving away from legacy code with BDDKonstantin Kudryashov
 
Sap Purchase Order Workflow
Sap Purchase Order WorkflowSap Purchase Order Workflow
Sap Purchase Order WorkflowArghadip Kar
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore
 
Agile Methods: The Good, the Hype and the Ugly
Agile Methods: The Good, the Hype and the UglyAgile Methods: The Good, the Hype and the Ugly
Agile Methods: The Good, the Hype and the UglyTyrone Grandison
 
Code Smells and Refactoring - Satyajit Dey & Ashif Iqbal
Code Smells and Refactoring - Satyajit Dey & Ashif IqbalCode Smells and Refactoring - Satyajit Dey & Ashif Iqbal
Code Smells and Refactoring - Satyajit Dey & Ashif IqbalCefalo
 
IIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteriaIIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteriaSteven HK Ma | 馬國豪
 
Agile Education: PO Basics
Agile Education: PO BasicsAgile Education: PO Basics
Agile Education: PO BasicsBharti Rupani
 
Interview Preparation
Interview PreparationInterview Preparation
Interview PreparationSupportGCI
 
The Joy of Subforms with Randy Carey
The Joy of Subforms with Randy CareyThe Joy of Subforms with Randy Carey
The Joy of Subforms with Randy Careyjdaychi
 
Session03-Requirement (1).pdf
Session03-Requirement (1).pdfSession03-Requirement (1).pdf
Session03-Requirement (1).pdfPeterTran514407
 
The benefits of using Git
The benefits of using GitThe benefits of using Git
The benefits of using GitYannick Warnier
 
Bdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchenBdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchenChristopher Bergh
 
Business Case Template 2024 - By ex-Mckinsey and BCG consultants
Business Case Template 2024 - By ex-Mckinsey and BCG consultantsBusiness Case Template 2024 - By ex-Mckinsey and BCG consultants
Business Case Template 2024 - By ex-Mckinsey and BCG consultantsSlideworks
 
Interview Preparation
Interview Preparation Interview Preparation
Interview Preparation SupportGCI
 

Similar to SimpleOpen BDD Method Powered by Excel (20)

Leading Your Business Customer
Leading Your Business Customer Leading Your Business Customer
Leading Your Business Customer
 
Episode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and InterfacesEpisode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and Interfaces
 
MBA 504 Module Four Power BI Assignment User Manual M
MBA 504 Module Four Power BI Assignment User Manual  MMBA 504 Module Four Power BI Assignment User Manual  M
MBA 504 Module Four Power BI Assignment User Manual M
 
Moving away from legacy code with BDD
Moving away from legacy code with BDDMoving away from legacy code with BDD
Moving away from legacy code with BDD
 
Sap Purchase Order Workflow
Sap Purchase Order WorkflowSap Purchase Order Workflow
Sap Purchase Order Workflow
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
 
Imrad structure
Imrad structureImrad structure
Imrad structure
 
Agile Methods: The Good, the Hype and the Ugly
Agile Methods: The Good, the Hype and the UglyAgile Methods: The Good, the Hype and the Ugly
Agile Methods: The Good, the Hype and the Ugly
 
Code Smells and Refactoring - Satyajit Dey & Ashif Iqbal
Code Smells and Refactoring - Satyajit Dey & Ashif IqbalCode Smells and Refactoring - Satyajit Dey & Ashif Iqbal
Code Smells and Refactoring - Satyajit Dey & Ashif Iqbal
 
IIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteriaIIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteria
 
Agile Education: PO Basics
Agile Education: PO BasicsAgile Education: PO Basics
Agile Education: PO Basics
 
Interview Preparation
Interview PreparationInterview Preparation
Interview Preparation
 
Software Design principales
Software Design principalesSoftware Design principales
Software Design principales
 
The Joy of Subforms with Randy Carey
The Joy of Subforms with Randy CareyThe Joy of Subforms with Randy Carey
The Joy of Subforms with Randy Carey
 
Session03-Requirement (1).pdf
Session03-Requirement (1).pdfSession03-Requirement (1).pdf
Session03-Requirement (1).pdf
 
The benefits of using Git
The benefits of using GitThe benefits of using Git
The benefits of using Git
 
Spec by-example
Spec by-exampleSpec by-example
Spec by-example
 
Bdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchenBdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchen
 
Business Case Template 2024 - By ex-Mckinsey and BCG consultants
Business Case Template 2024 - By ex-Mckinsey and BCG consultantsBusiness Case Template 2024 - By ex-Mckinsey and BCG consultants
Business Case Template 2024 - By ex-Mckinsey and BCG consultants
 
Interview Preparation
Interview Preparation Interview Preparation
Interview Preparation
 

Recently uploaded

[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypseTomasz Kowalczewski
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletAndrea Goulet
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfryanfarris8
 
[GRCPP] Introduction to concepts (C++20)
[GRCPP] Introduction to concepts (C++20)[GRCPP] Introduction to concepts (C++20)
[GRCPP] Introduction to concepts (C++20)Dimitrios Platis
 
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale IbridaUNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale IbridaNeo4j
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdftimtebeek1
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Eraconfluent
 
Rapidoform for Modern Form Building and Insights
Rapidoform for Modern Form Building and InsightsRapidoform for Modern Form Building and Insights
Rapidoform for Modern Form Building and Insightsrapidoform
 
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
Auto Affiliate  AI Earns First Commission in 3 Hours..pdfAuto Affiliate  AI Earns First Commission in 3 Hours..pdf
Auto Affiliate AI Earns First Commission in 3 Hours..pdfSelfMade bd
 
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...Neo4j
 
Transformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with LinksTransformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with LinksJinanKordab
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMarkus Moeller
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanNeo4j
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAShane Coughlan
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringPrakhyath Rai
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Clinic
 

Recently uploaded (20)

[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
 
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
 
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
 
[GRCPP] Introduction to concepts (C++20)
[GRCPP] Introduction to concepts (C++20)[GRCPP] Introduction to concepts (C++20)
[GRCPP] Introduction to concepts (C++20)
 
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale IbridaUNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
 
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
Rapidoform for Modern Form Building and Insights
Rapidoform for Modern Form Building and InsightsRapidoform for Modern Form Building and Insights
Rapidoform for Modern Form Building and Insights
 
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
Auto Affiliate  AI Earns First Commission in 3 Hours..pdfAuto Affiliate  AI Earns First Commission in 3 Hours..pdf
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
 
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
 
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
 
Transformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with LinksTransformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with Links
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements Engineering
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
 

SimpleOpen BDD Method Powered by Excel

  • 1. SimpleOpen BDD Method Powered by Excel A New Behavior-Driven Development Method Only 6 Pages, Specification by Example Author: Mike Zhang 2021/4/6
  • 2. An Gherkin BDD Example • Title: Returns and exchanges go to inventory. • As a store owner, • I want to add items back to inventory when they are returned or exchanged, • so that I can track inventory. • Scenario 1: Items returned for refund should be added to inventory. • Given that a customer previously bought a black sweater from me • and I have three black sweaters in inventory, • when they return the black sweater for a refund, • then I should have four black sweaters in inventory. from https://en.wikipedia.org/wiki/Behavior-driven_development
  • 3. Describe Example in Excel • Template No. Step Sub-Step(optional for complex step) Parameter Name Parameter Value1 Parameter Value2 Parameter Value3 Parameter Value4 1 2 3 4
  • 4. Convert the example by Excel template No. Step Parameter Name Parameter Value1 Parameter Value2 Parameter Value3 1 a customer previously bought [right parameter] black sweater from me BlackSweaterCountAtCustomer 1 3 4 2 I have [right parameter] black sweaters in inventory, BlackSweaterCountInInvertory1 3 10 2 3 they return [right parameter] black sweater for a refund BlackSweaterCountReturned 1 2 2 4 I should have [right parameter] black sweaters in inventory BlackSweaterCountInInvertory2 4 12 4
  • 5. Load Example into test data • Now almost every programming language has Excel functions. • Below is a PowerShell example to read the previous excel • $ExampleList = Get-ZmExampleList -ExcelPath ".ExcelExample1.xlsx" -WorksheetName 'Scenario1’ • Get-ZmExampleList is a customized function which read a Worksheet into a Hashtable List, $ExampleList is displayed by json format as below [ { "BlackSweaterCountAtCustomer": "1", "BlackSweaterCountInInvertory1": "3", "BlackSweaterCountReturned": "1", "BlackSweaterCountInInvertory2": "4" }, { "BlackSweaterCountAtCustomer": "3", "BlackSweaterCountInInvertory1": "10", "BlackSweaterCountReturned": "2", "BlackSweaterCountInInvertory2": "12" }, { "BlackSweaterCountAtCustomer": "4", "BlackSweaterCountInInvertory1": "2", "BlackSweaterCountReturned": "2", "BlackSweaterCountInInvertory2": "4" } ] • If need source code of Get-ZmExampleList, please connect author.
  • 6. Use example data in test • PowerShell and Pester are very convenient to use Hashtable list as test data, just as the above example • For other languages, there should be at least one way to organize parameterized test cases from Excel
  • 7. Comparison Problem BDD by Gherkin New SimpleOpen BDD by Excel Learn Gherkin is easy, but still need syntax and a small learning curve. Excel need no learning curve Easy to edit for dev/test/PO/BA and end user More Examples Hard to expand to table in text format file Easy to expand more examples by more parameter values by sheet End user don’t express by Gherkin way if end user just express requirements by their way, especially business stakeholder, converting from end user’s output to Gherkin style is time- consuming. End user can’t reject Excel, they like to use Excel to express what they need precisely End user don’t use Git The author of Example by Gherkin need Git skill which maybe an impediment for end user at business side. development team need synchronize to Git. Somewhat more efforts. Let end user edit Excel or use wiki which supports table. Then Synchronize examples into excel in Git, which should be just copy/paste, easily synchronized
  • 8. About author: Mike Zhang/Zhang Keqiang Agile /DevOps /Product manager Email: zhangkq2000@hotmail.com Twitter: MikeZhang307 WeChat:zhangmike Overview Mr. Zhang Keqiang has mainly experienced in agile transformation, DevOps construction, organizational process improvement, quality assurance and testing, with the reference to Agile, XP, Scrum, CMMI, Kanban and Scrumban and so on. In the last 3 years, he has gone deep into the bridging between IT and the business, and conducted many business agile practices, such as minimum business increment(MBI), business lead time, qualitative and quantitative analysis of production effects, business multi-layer Kanban, and so on. the organization's digital transformation is really be implemented with business outcome. Agile & DevOps Expert The time of agile has come. As information is moving at the speed of light, most organizations are still operating with a structure and leadership style from 1970s - the dawn of Industrial 3.0 era. These organizations must go through deep overhauls in leaders’ consciousness, style and structure in order to compete in today’s creative economy era. Since the introduction of agile in the context of CMMI5 in 2008, in 2009 to obtain the CSM certificate, Mr. Zhang has been working in agile organization transformation and improvement, as EPG Lead, as enterprise executive director, but also as external coach. He conducts not only agile management practices, but also agile engineering practices, such as continuous integration, DevOps practices, and business agility practices Original methods • December 2019, ScrumBan Simple Open edition, which mixed Scrum and Kanban, see link • December 2018, requirements flow model • In November 2018, Egg estimation • January 2018, Agile Usecase • The first Scrumban (i.e. Scrum-Kanban Hybrid) case analysis report in China was released 2017. • In December 2017, Test-Driven Debugging • July 2017, story positioning method Early Careers Ms. Zhang had worked as a test manager, EPG lead, project director at Baosight, QA manager at Intel, senior consultant at DNV & inspearit, EPG Lead and enterprise architecture head at 99bill. He once was the Executive Director of Tsjinrong. Academic Background, Experiences and Awards • Bachelor's and Master's degrees in Electrical Engineering, Tsinghua University, Beijing • Beijing Science and Technology Progress Third Prize - Internet Ladder Multimedia Distance Education Common Platform (2001.12) • 2004 Shanghai excellent mentor from Shanghai Labor and Social Security Bureau • 2010 Shanghai software industry role model

Editor's Notes

  1. 8