BDD (Behavior Driven Development) is an agile software development process that encourages collaborative work between developers, QA and non-technical or business stakeholders. It uses examples or scenarios written in plain language to define requirements and acceptance criteria. The scenarios are automated as tests to guide code development and ensure requirements are met. BDD aims to produce working, tested software that meets stakeholder needs through conversations and collaborative test-first development focused on desired behavior.
Building In Quality: The Beauty Of Behavior Driven Development (BDD)Synerzip
Behavior Driven Development (BDD) began as a means of helping developers practice Test Driven Development (TDD).
In this it was successful, but it quickly proved its value in many other ways. In this presentation, Larry Apke quotes heavily from the work of Uncle Bob Martin to make the case for TDD and then explains how developers can use BDD to take advantage of this excellent software development practice.
Larry also talks about his “Ten Reasons BDD Changes Everything” along with some easy ways to begin implementation of BDD in your software development organization immediately and what the corresponding future steps would be to take full advantage of this technique.
Business Driven Development is a development methodology based on communication between the business customers, the developers, and the testers. BDD encompasses many of the same practices as Specification by Example, Acceptance Test Driven Development (ATDD), Example-Driven Development (EDD), and Story Test-Driven Development (SDD). All these processes aid developers and testers in understanding the customer’s needs prior to implementation and allow customers to be able to converse in their own domain language
German Testing Day 2015 - How behavior-driven development fuses developers an...Bastian Seehaus
What was our motivation at Deutsche Post Adress to use Behaviour Driven Development (BDD), how did we implement it and what benefits did we discover afterwards.
The prelude with the motivation was done in Prezi: https://prezi.com/yon4j9tec8bd/deutschepostadress_and_s-labgermantestingday-part1/
Building In Quality: The Beauty Of Behavior Driven Development (BDD)Synerzip
Behavior Driven Development (BDD) began as a means of helping developers practice Test Driven Development (TDD).
In this it was successful, but it quickly proved its value in many other ways. In this presentation, Larry Apke quotes heavily from the work of Uncle Bob Martin to make the case for TDD and then explains how developers can use BDD to take advantage of this excellent software development practice.
Larry also talks about his “Ten Reasons BDD Changes Everything” along with some easy ways to begin implementation of BDD in your software development organization immediately and what the corresponding future steps would be to take full advantage of this technique.
Business Driven Development is a development methodology based on communication between the business customers, the developers, and the testers. BDD encompasses many of the same practices as Specification by Example, Acceptance Test Driven Development (ATDD), Example-Driven Development (EDD), and Story Test-Driven Development (SDD). All these processes aid developers and testers in understanding the customer’s needs prior to implementation and allow customers to be able to converse in their own domain language
German Testing Day 2015 - How behavior-driven development fuses developers an...Bastian Seehaus
What was our motivation at Deutsche Post Adress to use Behaviour Driven Development (BDD), how did we implement it and what benefits did we discover afterwards.
The prelude with the motivation was done in Prezi: https://prezi.com/yon4j9tec8bd/deutschepostadress_and_s-labgermantestingday-part1/
In this session we will explore the semantics and theory behind Behavior Driven Development and how it can unify a team with its ubiquitous language. We will then go in a tour of TestBox for applying BDD/TDD into our CFML applications. Our tour will end with setting up a Jenkins Continous Integration Server and building scripts for automated testing and reporting.
Topics covered are
The problem ,History ,Philosophy , Collaboration, Specification by example , Scenarios , Cucumber JVM ,Gherkins ,Testing strategy , Testing Iceberg, Feature injection ,When to embrace BDD?,BDD for maintenance projects , the “dEep” model , TDD vs BDD
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...Ultan O'Broin
Presented at Product Camp Dublin 2018. Presentation on picking the right thing to design, right. The Jobs To Be Done framework trumps UX profiles and personas. Keeping it simple, wireframing best practices, and Lean Startup methodologies included!
Domain-Driven Design provee las recomendaciones que Behaviour-Driven Development necesita para hacer de las conversaciones una actividad productiva que permite a Scrum progresar de forma efectiva sobre la visión del software.
Build your first IoT device - The tricky interface of Product and R&D with Ni...Product of Things
These are the slides from Nir Klein's workshop at Product of Things Conference in Tel Aviv on July 2018:
Who this workshop is for:
This workshop is for those who have little to non-background in hardware technologies and want to get a better grasp on the interface between the Product and the R&D roles during the development of IoT products, with emphasis on startups and small companies
After this workshop you will be able to:
- Understand the R&D applications of IoT must-features
- Plan a PRD for a theoretical product
- Guide your product and R&D teams on how to better work together, leading them to build better software and hardware product components
What is covered:
- Product and R&D roles
- Limitations of a startup and how it affects the product’s definitions
- The Required technological disciplines to develop an IoT hardware product
- Guidelines for planning your MVP and PRD
- What should PRD for IoT hardware product look like
- Case studies and common mistakes
In this workshop, Nir brings first-hand experience on successfully leading product and R&D teams, overcoming their differences (both technical and not), and bringing them together with the aim to make better IoT products
BDD in open source projects - Is it really beneficial?Fabian Kiss
You can easily use tools such as Behat and phpspec for practicing BDD in PHP. Regardless of the specific BDD tools, the question of how to do BDD “properly” arises. According to Dan North, initiator of the BDD philosophy, it should be be practiced as a “mutliple-stakeholder, agile methodology”. However, most open-source projects are not developed with an explicit agile methodology. Also, there are hardly any stakeholder roles that are clearly distinguishable from each other - often contributor and user are actually one and the same. So, in the case of open-source projects, you can question the benefit of BDD.
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...Ultan O'Broin
Presented at Product Camp Dublin 2018. Presentation on picking the right thing to design, right. The Jobs To Be Done framework trumps UX profiles and personas. Keeping it simple, wire-framing best practices, and Lean Startup methodologies included!
Agile software requirements management with Impact Mapping and BDDFred Heath
In this talk, Fred Heath will explain how to capture and model Requirements and translate them to Executable Specifications, using a combination of Behaviour-Driven Development, some established techniques like Impact Mapping and some new ones such as Business Process Alignment and the D3 method. It will also illustrate how to correctly create Features and will outline an algorithmic approach for creating code that realizes the client's requirements.
En esta presentación se muestran un conjunto de librerías y frameworks en Python para poder realizar pruebas tanto funcionales com ono funcionales, a diferentes niveles (unitario, aceptación y e2)
In this session we will explore the semantics and theory behind Behavior Driven Development and how it can unify a team with its ubiquitous language. We will then go in a tour of TestBox for applying BDD/TDD into our CFML applications. Our tour will end with setting up a Jenkins Continous Integration Server and building scripts for automated testing and reporting.
Topics covered are
The problem ,History ,Philosophy , Collaboration, Specification by example , Scenarios , Cucumber JVM ,Gherkins ,Testing strategy , Testing Iceberg, Feature injection ,When to embrace BDD?,BDD for maintenance projects , the “dEep” model , TDD vs BDD
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...Ultan O'Broin
Presented at Product Camp Dublin 2018. Presentation on picking the right thing to design, right. The Jobs To Be Done framework trumps UX profiles and personas. Keeping it simple, wireframing best practices, and Lean Startup methodologies included!
Domain-Driven Design provee las recomendaciones que Behaviour-Driven Development necesita para hacer de las conversaciones una actividad productiva que permite a Scrum progresar de forma efectiva sobre la visión del software.
Build your first IoT device - The tricky interface of Product and R&D with Ni...Product of Things
These are the slides from Nir Klein's workshop at Product of Things Conference in Tel Aviv on July 2018:
Who this workshop is for:
This workshop is for those who have little to non-background in hardware technologies and want to get a better grasp on the interface between the Product and the R&D roles during the development of IoT products, with emphasis on startups and small companies
After this workshop you will be able to:
- Understand the R&D applications of IoT must-features
- Plan a PRD for a theoretical product
- Guide your product and R&D teams on how to better work together, leading them to build better software and hardware product components
What is covered:
- Product and R&D roles
- Limitations of a startup and how it affects the product’s definitions
- The Required technological disciplines to develop an IoT hardware product
- Guidelines for planning your MVP and PRD
- What should PRD for IoT hardware product look like
- Case studies and common mistakes
In this workshop, Nir brings first-hand experience on successfully leading product and R&D teams, overcoming their differences (both technical and not), and bringing them together with the aim to make better IoT products
BDD in open source projects - Is it really beneficial?Fabian Kiss
You can easily use tools such as Behat and phpspec for practicing BDD in PHP. Regardless of the specific BDD tools, the question of how to do BDD “properly” arises. According to Dan North, initiator of the BDD philosophy, it should be be practiced as a “mutliple-stakeholder, agile methodology”. However, most open-source projects are not developed with an explicit agile methodology. Also, there are hardly any stakeholder roles that are clearly distinguishable from each other - often contributor and user are actually one and the same. So, in the case of open-source projects, you can question the benefit of BDD.
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...Ultan O'Broin
Presented at Product Camp Dublin 2018. Presentation on picking the right thing to design, right. The Jobs To Be Done framework trumps UX profiles and personas. Keeping it simple, wire-framing best practices, and Lean Startup methodologies included!
Agile software requirements management with Impact Mapping and BDDFred Heath
In this talk, Fred Heath will explain how to capture and model Requirements and translate them to Executable Specifications, using a combination of Behaviour-Driven Development, some established techniques like Impact Mapping and some new ones such as Business Process Alignment and the D3 method. It will also illustrate how to correctly create Features and will outline an algorithmic approach for creating code that realizes the client's requirements.
En esta presentación se muestran un conjunto de librerías y frameworks en Python para poder realizar pruebas tanto funcionales com ono funcionales, a diferentes niveles (unitario, aceptación y e2)
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Full-RAG: A modern architecture for hyper-personalizationZilliz
Mike Del Balso, CEO & Co-Founder at Tecton, presents "Full RAG," a novel approach to AI recommendation systems, aiming to push beyond the limitations of traditional models through a deep integration of contextual insights and real-time data, leveraging the Retrieval-Augmented Generation architecture. This talk will outline Full RAG's potential to significantly enhance personalization, address engineering challenges such as data management and model training, and introduce data enrichment with reranking as a key solution. Attendees will gain crucial insights into the importance of hyperpersonalization in AI, the capabilities of Full RAG for advanced personalization, and strategies for managing complex data integrations for deploying cutting-edge AI solutions.
20 Comprehensive Checklist of Designing and Developing a WebsitePixlogix Infotech
Dive into the world of Website Designing and Developing with Pixlogix! Looking to create a stunning online presence? Look no further! Our comprehensive checklist covers everything you need to know to craft a website that stands out. From user-friendly design to seamless functionality, we've got you covered. Don't miss out on this invaluable resource! Check out our checklist now at Pixlogix and start your journey towards a captivating online presence today.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Maruthi Prithivirajan, Head of ASEAN & IN Solution Architecture, Neo4j
Get an inside look at the latest Neo4j innovations that enable relationship-driven intelligence at scale. Learn more about the newest cloud integrations and product enhancements that make Neo4j an essential choice for developers building apps with interconnected data and generative AI.
Building RAG with self-deployed Milvus vector database and Snowpark Container...Zilliz
This talk will give hands-on advice on building RAG applications with an open-source Milvus database deployed as a docker container. We will also introduce the integration of Milvus with Snowpark Container Services.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
7. First approach
TDD Test Drive Development
0 Is not a tool!!!! It’s a design methodology
0 Focused in unit testing
0 Life cycle
0 Red
0 Green
0 Refactor
0 Something is missing:
0 THINK!
0 Think Red Green Refactor
8. TDD is fine but…
• Is programmer focused
• Only take care about the source code
• Helps to write code right but not right code
• Not support communication
0 Inside team (including QA, BA, Data analyst…)
0 With stakeholders
• Is bottom – up process
9. BDD History
BDD was developed by Dan North as a
response to the issues encountered
teaching TDD
0 Where to start in the process
0 What to test and what not to test
0 How much to test in one go
0 What to call the tests
0 How to understand why a test fails
0 Give you reliability your tests?
10. BDD History
• The first proposes was that the unit testing
names be whole sentences starting with the
word SHOULD and written in order of
business value.
0Every class should do something
• ClientDetailsValidatorTest
0ShouldFailForMissingSurname
0ShouldFailForMissingAge
12. Definition
• BDD is a second-generation, outside-in, pull-
based, multiple-stakeholder, multiple-scale,
high-automation, agile methodology. It
describes a cycle of interactions with well-
defined outputs, resulting in the delivery of
working, tested software that matters.
• Using examples to create a shared
understanding and surface uncertainly to
deliver software that matters.
14. Story
• What’s an story?
It has to be a description of a requirement and its
business benefit, and a set of criteria by which we all
agree that it is “done” (Dann North)
• Written in business language
15. Story
• Structure:
0 Title (one line describing the story)
0 Narrative:
0 As a [role]
0 I want [feature]
0 So that [benefit]
16. Story
Example:
0 As a user
0 I want to publish a tweet
0 So that share information with my followers
17. Story
Another template:
0 Title (one line describing the story)
0 Narrative
0 In order to [benefit]
0 As a [role]
0 I want to [feature]
18. Story
Example:
0 In order to share information with my followers
0 As a user
0 I want to publish a tweet
19. Scenario
• It’s the acceptance criteria
• It’s a description of each specific case
of the narrative
• Can be used to help discover the scope
of the story or the feature
• The scenario should be described in
terms of Givens, Events and Outcomes
20. Scenario
Structure:
0 Title (one line describing the scenario)
0 Narrative
0 Given [context]
0 And [some more context]...
0 When [event]
0 Then [outcome]
0 And [another outcome]...
21. Scenario
Example:
Given a twitter account activated
When I send a tweet with 139 characters
Then the tweet is published
And all my followers can read the tweet
22. How to build scenarios?
Only 4 keywords have the empowerment
to build scenarios
0 but something is missing…
What is the most powerful tool to build
the scenarios?
25. User Story & Scenario Example
Title: Customer withdraws cash
As a customer,
I want to withdraw cash from an ATM,
so that I don’t have to wait in line at the bank.
Scenario 1: Account is in credit
Given the account is in credit
And the card is valid
And the dispenser contains cash
When the customer requests cash
Then ensure the account is debited
And ensure cash is dispensed
And ensure the card is returned
26. User Story & Scenario Example
Scenario 2: Account has insufficient funds
Given the account is overdrawn
And the card is valid
When the customer requests cash
Then ensure a rejection message is displayed
And ensure cash is not dispensed
And ensure the card is returned
27. User Story & Scenario Example
Scenario 3: Card has been disabled
Given the card is disabled
When the customer requests cash
Then the ATM should retain the card
And the ATM should say the card has been retained
30. BDD Life cycle
• Let’s choose a problem Given a
number, what is its factorial?
• User Story:
0 Feature: Compute factorial
0 In order to learn BDD
0 As beginners
0 We'll implement factorial
31. BDD Life cycle
• Writte the first scenario:
• Scenario: Factorial of 0
0 Given I have the number 0
0 When I compute its factorial
0 Then I see the number 1
36. BDD Life cycle
Add the another scenarios:
0 Scenario: Factorial of 1
0 Given I have the number 1
0 When I compute its factorial
0 Then I see the number 1
0 Scenario: Factorial of 2
0 Given I have the number 2
0 When I compute its factorial
0 Then I see the number 2
37. BDD Life cycle
0We don’t need change the steps in python
because we haven’t changed the definition
40. BDD Life cycle
• We can add more scenarios and
improve the software quality:
0 What happen when we introduce a character?
0 What happen when we introduce a float?
0 What happen when we not introduce nothing?
0 …
42. BDD Life cycle
First:
0 Analyze the feature
•Google API about geography codification:
0 We want offer a product to improve the geography
knowledge
0 As a user we need a product that when a city is
introduced the application returns the country.
43. BDD Life cycle
0User story:
0 As a user
0 I want know the country code of one city
0 In order to improve my geography knowledge
44. BDD Life cycle
• We start thinking about the possible
scenarios to build the acceptance
criteria:
0 What happen if the city not exists?
0 What happen if the city parameter is null?
0 What happen if the city is mispelled
0 Should the request be authenticated?
45. BDD life cycle
Scenario Outline: Retrieve the geolocation with city
name given
Given a <city> name
When I request the geoencoding of the city
Then I obtain the <city> name with the <country_code>
Examples:
| city | country_code |
| Barcelona | ES |
| Paris | FR |
| San+Francisco | US |
46. BDD life cycle
• Code the scenario!
• Every line in the scenario is a function or
method in the code.
0 Given: Preconditions settings
0 When: API request
0 Then: Assertions
48. BDD life cycle
• Build the source code
• Remember build only the source code
required to pass the scenario
• If something is not required, delete it
50. BDD life cycle
Refactor:
0 Give feedback to the stakeholders and the whole team
0 Refactor the source code to improve it!
0 Refactor the scenarios
0 Add new scenarios
53. Communication
Improve communication
0 BDD is about conversations
0 Ubiquitous language (shared between stakeholders and
whole team)
0 Collaboration between stakeholders, Bussiness
Analysts, QA and programmers
Speak the same language = building
toguether
54. Documentation
• Formal documentation is not required
• Scenarios can be used as a software
documentation
• Every time the software changes… the
scenarios should be changed also (red,
green, refactor)
Live Documentation!!!!
55. Other benefits
• Only code the required functionality
(YAGNI)
• Quick feedback
If the tests are included in the CI
• Involve stakeholders in the
implementation process
• Develop code right and right code
• Give confidence in your code refactors
56. Resources
0 http://dannorth.net
0 http://lizkeogh.com
0 http://
www.slideshare.net/ajaydanait1/behavior-driven-development-bdd-16779998
0 http://behaviour-driven.org/
0 http://cukes.info/
0 http://lettuce.it/
0 http://fitnesse.org/
0 http://www.concordion.org/
0 http://jbehave.org/
0 User Stories Applied: For Agile Software Development, Mike Cohn
0 Agile Testing: A Practical Guide for Testers and Agile Teams, Lisa Crispin
and Janet Gregory
0 Specification by Example, Gojko Adzic