~/talk

Behat Best Practices with Symfony

Talkat SymfonyLive London 2017 · 2017-09-21..09-22· [testing, developer-experience]
slides:none on file

Shows how Behat turns concrete examples (three scenarios for a course with class size 2–3) into fast, layered tests: first driving domain objects (Course, ClassSize, Learner) to force design and custom exceptions for max capacity, then refactoring to a service layer with fake repositories, and finally a tiny set of UI checks via BrowserKit or full-browser runs. Uses Symfony2Extension to inject services, Mink to swap drivers, and optional headless Chrome via Selenium for rare end-to-end checks.

AI-written summary · about

  1. 0:00Introduction to BDD
  2. 2:57Conversations and Examples
  3. 7:12Structuring Scenarios
  4. 12:03Automating with Behat
  5. 16:02Gherkin Syntax Example
  6. 18:57Domain Layer Testing
  7. 27:53Service Layer Integration
  8. 33:53UI Testing and Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.