~/talk

PHPUnit - How to Start Writing Automated Tests

TalkinPolishat DrupalCamp Poland 2022 · 2022-05-28..05-29· [drupal, testing]
links:none on file
slides:none on file

Introduces PHPUnit for writing automated tests for PHP and Drupal projects, explaining why tests are useful and what unit, functional, and integration tests are. Shows how to set up PHPUnit, write basic test cases, run them, and integrate testing into Drupal development workflows.

AI-written summary · about

  1. 0:00PHPUnit introduction
  2. 5:23Installing PHPUnit
  3. 10:46Writing first test
  4. 15:05PHPUnit assertions
  5. 19:07Test lifecycle methods
  6. 20:52Code coverage with Xdebug
  7. 23:30PHPUnit in Drupal
  8. 26:25Q&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.