Developing and deploying high quality code, using TDD + CI/CD
summary
Shows a concrete workflow: use Composer plus linters (PHPMD, PHP_CodeSniffer, ESLint) to enforce WordPress coding standards, write small functions with Behat and PHPUnit so tests fail first then drive minimal implementation, and wire CI to run those suites in containers so commits give near‑real‑time feedback. Demonstrates a demo plugin (title filter that appends text), sees failing builds during setup, and configures Travis CI to auto‑build and deploy to staging on green so merging a passing branch becomes an automated delivery.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 2:06Will is Suck Less
- 9:48Tools
- 10:46Dependency Management
- 11:04WordPress Coding Standards
- 12:10PHP Code sniffer
- 13:38PHP MD
- 19:34Minimalist code
- 23:46PHPUnit
- 29:17Bhat
- 31:28Learning the hard way
- 32:24Continuous integration
- 36:40Continuous delivery
- 39:26Continuous integration providers
- 40:40Testing
- 47:56Feature context
- 48:51Future context file
- 50:21Embrace failure
- 51:51Test something right
- 54:11Starting my container
