~/talk

My Symfony functional testing toolbox

Talkat sfday 2020 · on Friday, 2020-11-27· [php, testing]
slides:none on file

Claims a 46 minute functional test suite drops to about 6 minutes by running PHPUnit in parallel and adding isolation tools, reports running ~1,500 tests in that time. Uses ParaUnit plus a transaction wrapper strategy replaced by Doctrine Test Bundle to avoid reloading fixtures. Adds static analysis with PHPStan and Psalm, validator-on-preflush, fixture builders and Faker data, warns about truncate commits and container instance mismatches, and says the setup works and is fast and reliable.

AI-written summary · about

  1. 0:00Start
  2. 7:14THE TESTING PYRAMID
  3. 10:10MY PYRAMID FOUNDATION
  4. 27:07TESTING ENTITY VALIDATION (2/2)
~/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.