~/talk

Want to Try Writing Test Code?

TalkinJapaneseat PHP Conference Japan 2024 · on Sunday, 2024-12-22· [php, testing]
slides:none on file

A hands-on workshop provides a runnable Laravel app with PHPUnit inside Docker Compose (App, DB, and PHPUnit containers) plus an init script. It walks through 12 testing exercises (8 essential) using the demo app (login, mypage, weather API, logout), with an answer branch and an estimated full run of 4–6 hours (possibly 7–8). Tools used are Laravel, PHPUnit, and Docker Compose.

AI-written summary · about

  1. 0:00Introduction
  2. 1:22What is test code?
  3. 3:06Why write test code?
  4. 5:34TC Practice repo intro
  5. 6:15Repository overview and setup
  6. 8:47Docker containers explained
  7. 10:14Practice questions and flow
  8. 13:23Writing test code basics
  9. 16:52Test case naming and structure
  10. 17:34Setup and teardown
  11. 18:16Assertions and logic
  12. 20:00Maintainable test tips
  13. 21:03Handling random values
  14. 22:26Avoiding flaky tests
  15. 23:09Session recap
  16. 24:39Q&A
~/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.