Test code using acceptance tests and sharable, defined file and database snapshots.
Open Issues: 8
- php: >=7.2
- 10up/wpinstructions: dev-master
- 10up/wpsnapshots: dev-master
- docker-php/docker-php: ^2.0@dev
- jane-php/open-api-runtime: 4.2.0
- nesk/puphpeteer: ^1.4
- phpunit/phpunit: ^7.5
- symfony/console: ^4.1
- 10up/phpcs-composer: dev-master
This package is auto-updated.
Last update: 2023-03-04 22:34:19 UTC
WP Acceptance is a toolkit that empowers developers and CI pipelines to test codebases using version controlled acceptance tests and sharable environments.
- 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.
How It Works
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.
Beta: This project is quite new and we're not sure what our ongoing support level for this will be. Bug reports, feature requests, questions, and pull requests are welcome. If you like this project please let us know, but be cautious using this in a Production environment!