~/talk

Living your Pest file

Talkat Laracon EU 2022 · 2022-04-26..04-27· [php, testing]
slides:none on file

Claims that Pest is more than PHPUnit sugar and shows concrete demos: a ParrotCon signup app with email-must-contain-"parrot" validation and a parrot-captcha expecting 10 birds, one-liner higher-order tests that replace closures, shared and combined data sets that explode into Cartesian products (examples go from 3 tests to 18 then 38), the expectation API and higher-order expectations for concise model assertions, a fake form-request generator in progress, and all examples run via Laravel php artisan test and visibly pass.

AI-written summary · about

  1. 0:00Pest introduction and benefits
  2. 1:12ParrotCon demo and basics
  3. 4:04Testing GET routes 200
  4. 5:06Higher-order tests in Pest
  5. 6:09Laravel plugin auto descriptions
  6. 7:11Validation testing with data sets
  7. 9:39Shared data sets across tests
  8. 11:03Edge case data sets combined
  9. 14:15Expectations API cleaner assertions
  10. 18:04Eloquent higher-order expectations
  11. 20:10Fake request data for forms
  12. 20:51Megatest all Pest features
  13. 23:18Pest learning resources
  14. 24:44Q&A
~/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.