~/talk

Behavior-Driven Python

Talkat PyCon 2018 · on Friday, 2018-05-11· [python, testing]

Shows how to write real Gherkin scenarios and glue them to Python step definitions using the behave framework, with a runnable GitHub example and pip install commands. Demonstrates context passing, hooks for webdriver setup and teardown, backgrounds and scenario outlines for reuse, and config/tag filtering. Notes common tools like Selenium and requests and warns that behave has no built‑in parallel execution. Pick this if you want concrete code, wiring, and a working example repo.

AI-written summary · about

  1. 0:00Intro
  2. 1:41What is a Behavior?
  3. 2:38Behavior-Driven Development
  4. 4:22Gherkin Behavior Spec Example
  5. 5:16Benefits of BDD
  6. 6:49How behave Works
  7. 7:58Installing behave
  8. 8:26Example Feature
  9. 10:51The Background Section
  10. 12:01A Scenario Outline
  11. 13:47Step Definitions
  12. 14:53Gluing Steps to Definitions
  13. 15:12Scenario Context
  14. 18:40Directory Layout
  15. 19:25Support Classes
  16. 20:01Running Tests
  17. 20:56Testing Considerations
  18. 21:43Other Python BDD Frameworks
  19. 22:58Beyond Python
  20. 23:53Links and Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.