~/talk

BDD API Development with Symfony and Behat

Talkat SymfonyLive San Francisco 2017 · 2017-10-19..10-20· [testing, php]
slides:none on file

Claims that Behat + Symfony gives one test suite that runs both kernel‑level integration tests via the Symfony2 extension and live HTTP tests via Guzzle using PSR‑7 requests. Uses symfony PSR HTTP‑message bridge + zend-diactoros, catches Guzzle exceptions, and supports multi‑profile runs (dev/beta/rc/stage/prod). Real project numbers: LaunchKey API has 41 paths, 130 handlers, ~10,000 LOC; tests cover it with 55 features, 328 scenarios and ~3,000 lines of step code. Tests include setup/teardown endpoints and enforce feature cleanup and single‑responsibility features.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25Architecture landscape
  3. 3:36APIs and Symphony
  4. 8:52Behat
  5. 12:16BDD for websites
  6. 12:46Behavior driven development
  7. 13:42API requests responses
  8. 14:57OAuth
  9. 16:59Kernel and Life Tests
  10. 17:11Behat in Symphony
  11. 19:56Symphony 2 Extension
  12. 20:26Feature Context
  13. 21:03Context Hierarchy
  14. 21:26Abstract Context
  15. 22:40guzzle Client Context
  16. 22:55guzzle Client Config
  17. 23:43symphony
  18. 24:28kernel
  19. 25:04constructor
  20. 25:34web test case
  21. 26:49students from the trenches
  22. 26:59launchkey multifactor authentication
  23. 27:19step code
  24. 27:38split features by functionality
  25. 28:32clean up after themselves
  26. 29:08unit tests
  27. 30:38exposed endpoints
  28. 31:52test feature only once
  29. 32:26test every feature
  30. 34:03Questions
  31. 34:47Login
  32. 37:27Outro
~/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.