~/talk

BDD (Behavior Driven Development) Testing for Django Apps

Talkat DjangoCon US 2018 · 2018-10-14..10-19· [testing, django]
name:Le Xiao
github:lexiaoau
slides:none on file

Claims a working BDD stack for Django using behave and Selenium plus page objects and behave-django, integrated with Travis CI and BrowserStack and Hiptest. Describes code layout, fixtures, and a demo app where end-to-end scenario runtime drops from ~3 seconds to ~1 second by passing cookies from Django test client into the WebDriver. Notes debugging flags, parallel cross‑browser runs, and practical limits: linear Gherkin flow, fragile complex JS widgets, and flaky browser/version mismatches.

AI-written summary · about

  1. 0:00Start
  2. 1:14Why We Need a Bdd
  3. 4:06Dependencies
  4. 4:49Create Our Features
  5. 7:01Action Words
  6. 9:32Code Delivery
  7. 10:12Working Flow
  8. 10:28Parallel Testing
  9. 13:31Debugging
  10. 20:21Unique Strengths of Bdd
~/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.