Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

BDD

BDD

What is BDD?

What is behavior?

  • Submitting forms on a website
  • Searching for desired results
  • Saving a document
  • Making REST API calls

A behavior is defined as a scenario of inputs, actions, and outcomes.

A product or feature exhibits countless behaviors.

Why BDD?

Why BDD?

Enables to define the business problem you want to solve

Combines the points of view of all parties: business, project and verification

Helps to discover unidentified and hidden areas of requirements and business needs

Framework, Languages and Tools

Frameworks and languages

Framework

Behave framework for BDD in python

Framework

Behave is similar to cucumber

Languages

Gherkin for feature file

Languages

Python for scripting

Tools

Selenium Web driver for browser automation

Tools

PyCharm as IDE

TDD vs BDD

TDD

BDD

  • Test first
  • Fail, Pass, Refactor
  • Developer takes job
  • There is just code
  • TDD tests code blocks
  • Creates test after analyze
  • Tests the operation of different modules
  • There are scenarios
  • Tests the behaviours

TDD vs BDD

Context of present code

Learn more about creating dynamic, engaging presentations with Prezi