~/talk

BDD To The Bone: Acceptance Testing with Behave and Selenium

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [testing]
slides:none on file

Shows that natural-language requirements become runnable tests by mapping Gherkin to Python with behave and driving real browsers via selenium WebDriver Chrome, using plain asserts and a shared context to pass data between steps. Builds a tiny link shortener, runs executable specifications that open Chrome windows and confirm redirects, emits JUnit reports, and demonstrates passing and failing steps. Argues acceptance tests validate behavior not just code, and recommends embedding concrete numbers (eg 200 ms) for testable requirements.

AI-written summary · about

  1. 0:00Requirements communication issues
  2. 2:50Gherkin for executable specs
  3. 5:00Gherkin to Behave mapping
  4. 7:30Solving requirements with Behave
  5. 10:00Acceptance vs developer testing
  6. 12:26Testing triangle value
  7. 13:28Making requirements testable
  8. 14:30Traceability with executable specs
  9. 15:55BDD as design methodology
  10. 16:36Acceptance testing Django
  11. 18:01Browser testing with Selenium
  12. 20:07Live demo Behave & Selenium
  13. 20:50Closing and key takeaways
~/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.