~/talk

WordPress Acceptance Testing: Solved

Talkat International PHP Conference Spring 2019 · 2019-06-03..06-07· [testing]
links:none on file
slides:none on file

WP Acceptance is an open source toolkit that runs docker-based environments and spins up a real Chrome browser per test via Puppeteer while extending PHPUnit assertions. It enforces reproducible environments with a version-controlled wpacceptance.json, supports an S3-backed snapshots workflow (snapshot IDs) for large DBs, can enforce a clean DB between tests, and integrates with Travis/GitLab CI. The demo shows tests creating posts, logging in, and saving plugin settings successfully.

AI-written summary · about

  1. 0:00Intro
  2. 0:59What is the Purpose of Automated Testing?
  3. 1:49Types of Automated Testing
  4. 2:42Automated Testing Tools
  5. 3:59What Is Acceptance Testing?
  6. 8:46The Problem (cont.)
  7. 10:21WP Acceptance Overview
  8. 10:46What Makes WP Acceptance Powerful?
  9. 11:43Environment Instructions
  10. 13:09wpacceptance.json
  11. 17:44Snapshots (cont.)
  12. 21:58Install and Usage
  13. 23:28A Simple Test
  14. 24:48Testing the Admin
  15. 27:18Saving a Post
  16. 29:23Standard Test Suite
  17. 31:39Continuous Integration
  18. 32:22Debugging
  19. 33:24Examples
  20. 33:43Extensive Documentation
~/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.