WordPress Acceptance Testing: Solved
summary
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
chapters (20)
- 0:00Intro
- 0:59What is the Purpose of Automated Testing?
- 1:49Types of Automated Testing
- 2:42Automated Testing Tools
- 3:59What Is Acceptance Testing?
- 8:46The Problem (cont.)
- 10:21WP Acceptance Overview
- 10:46What Makes WP Acceptance Powerful?
- 11:43Environment Instructions
- 13:09wpacceptance.json
- 17:44Snapshots (cont.)
- 21:58Install and Usage
- 23:28A Simple Test
- 24:48Testing the Admin
- 27:18Saving a Post
- 29:23Standard Test Suite
- 31:39Continuous Integration
- 32:22Debugging
- 33:24Examples
- 33:43Extensive Documentation
related talks
27mAutomated Web Acceptance Testing with Behat
22mApp Testing at Scale: How Bitnami Tests Thousands of Releases Per Month
43mBeyond Pester 102: Acceptance testing with PowerShell
32m30 Minutes or Less: The Magic of Automated Accessibility Testing
43mFrontend tests with codeception
53mWait, I have to test the front end too?
13mHow to Use Playwright for Automating Accessibility Testing
35mState of end-to-end testing for modern web applications
