Automated Testing, Right Now
summary
Claims concrete steps: add tests now even on legacy sites, not later. Use Backstop to capture visual diffs and catch layout regressions across resolutions; run PHP_CodeSniffer to enforce Drupal coding standards and get a simple pass/fail gate; script Behat scenarios to lock down behaviors like “past events don’t show on homepage”; run Lighthouse in CI for performance and accessibility baselines. Example shows PHPUnit unit tests for user‑agent logic and CircleCI/GitHub CI blocking deploys on failures.
AI-written summary · about
chapters (10)
- 0:00Introduction to automated testing
- 1:02Test-driven development dream
- 7:06Visual regression testing for zombie sites
- 11:15Breaking the CI chicken-and-egg cycle
- 12:39Code sniffing as first automated test
- 15:48Post-launch bug fixes with tests
- 25:45Performance and accessibility audits
- 28:16Demo driven development explained
- 31:46Closing: Robots do better than me
- 32:31Q&A session
