WP Acceptance is a toolkit that empowers developers and CI pipelines to test codebases using version controlled acceptance tests and sharable environments.
Caution
As of 12 April 2024, this project is archived and no longer being actively maintained.
- PHP 7.2+
- mysqli PHP extension
- Docker (WP Local Docker is highly recommended as the local development environment but not required.)
- Node >= 8 (WP Acceptance uses Puppeteer behind the scenes.)
Note: WP Acceptance should be run on your HOST machine and not within Docker.
There are many acceptance tests frameworks out there. They all have one major flaw - everyone executing the acceptance tests must be running the exact same code on the exact same database and environment to guarantee the same results. Ensuring a team of developers (and a CI pipeline) are all using the same database in the same environment has been nearly impossible until now. WP Acceptance is unique in that it allows you to run your acceptance tests against a codebase in defined and shareable environments. Read more in our announcement blog post.
Installation instructions are on the docs site.
Learn how to use WP Acceptance on the docs site.
Archived: This project is no longer maintained by 10up. We are no longer responding to Issues or Pull Requests unless they relate to security concerns. We encourage interested developers to fork this project and make it their own!