Behavior Driven Development - Live Webinar - PowerPoint PPT Presentation

About This Presentation
Title:

Behavior Driven Development - Live Webinar

Description:

Multiple technologies, changing requirements, challenging reality ... The number of factors, that affect the performance of software teams, is constantly growing. Moreover, there are so many different roles in a project (Developers, Testers, Leaders, Managers, Product Owners) and reaching a clear communication between them is even more difficult. Behavior-Driven Development (BDD) is an answer to all those challenges. Belatrix experts Luis Raed, Sr. Developer at Belatrix Software, and Mauricio Besse, Project Leader at Belatrix Software analyzed the BDD approach, its practical application and benefits for software development and QA teams. – PowerPoint PPT presentation

Number of Views:351

less

Transcript and Presenter's Notes

Title: Behavior Driven Development - Live Webinar


1
What is BDD?
August 20th, 2014
2
PANELISTS
Luis Raed Senior Developer
Mauricio Bessé Project Leader
3
BDD
  • Concept
  • A new process that helps to manage software
    development projects efficiently.

4
TOPICS
  • History
  • Definition
  • Language example
  • Implementation example
  • Benefits
  • Statistics
  • QA

5
HISTORY
  • Waterfall
  • Agile

6
DEFINITION
7
LANGUAGE EXAMPLE
User Story As a registered user, I want to
login in order to access to Home page. If the
username or password are invalid, I will stay in
login page and the system will show an error
message.
Task Validate username and password. If they
are valid, redirect the user to Home page,
otherwise stay in the page and show an error
message.
8
Gherkin
Scenario Valid login Given The user is in Login
page   And the user enters a valid username And
the user enters a valid password When the user
logs in Then the user is redirected to Home page
9
Other scenarios
Scenario Enter an invalid password  Given The
user is in Login page   And the user enters a
valid username And the user enters an invalid
password When the user logs in Then the user is
redirected to the Login page And the system
shows the following message "Invalid Username or
Password. Please, check the values and try
again".   Scenario Enter an invalid
username  Given The user is in Login page   And
the user enters an invalid username And the user
enters a valid password When the user logs in
Then the user is redirected to the Login page
And the system shows the following message
"Invalid Username or Password. Please, check the
values and try again".   Scenario Enter an
invalid username and an invalid password  Given
The user is in Login page   And the user enters
an invalid username And the user enters an
invalid password When the user logs in Then the
user is redirected to the Login page And the
system shows the following message "Invalid
Username or Password. Please, check the values
and try again".
10
Implementation
  • Initial state
  • First approach
  • BDD Process

11
Initial state
12
First approach
  • Communication
  • Collaboration
  • Quality issues
  • Regression Analysis
  • Traceability of requirements

13
BDD Process
14
Issue Tracker
15
Failing scenario
16
Coding Phase
  1. Write failing unit test
  2. Write code to make the test pass
  3. Refactor

17
Passing Scenarios
18
REFACTOR CODE
19
BENEFITS
  • Live documentation
  • Better product understanding
  • Reduction of communication barriers
  • Improvement of quality software
  • Stakeholders expectations achieved

20
LIVE DOCUMENTATION
Scenario Enter an invalid password  Given The
user is in Login page   And the user enter a
valid username And the user enter an invalid
password When the user logs in Then the user is
redirected to the Login page And the system
shows the following message "Invalid Username or
Password. Please, check the values and try
again".   Scenario Enter an invalid
username  Given The user is in Login page   And
the user enter an invalid username And the user
enter a valid password When the user logs in
Then the user is redirected to the Login page
And the system shows the following message
"Invalid Username or Password. Please, check the
values and try again".
21
BETTER PRODUCT UNDERSTANDING
22
REDUCE COMMUNICATION BARRIERS
23
ENCOURAGE QUALITY SOFTWARE
24
MATCH STAKEHOLDER EXPECTATIONS
25
Regression Report
26
Statistics
27
Conclusion
  1. Increasing the chances of success of the project.
  2. Improving communication, collaboration and
    software quality.
  3. Concentrating on key features for stakeholders.
  4. Using a common and effective language.

28
Thank you
Luis Raed lraed_at_belatrixsf.com
Mauricio Bessé mbesse_at_belatrixsf.com
29
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com