10up / wpacceptance
Test code using acceptance tests and sharable, defined file and database snapshots.
Installs: 75 015
Dependents: 0
Suggesters: 0
Security: 0
Stars: 148
Watchers: 85
Forks: 15
Open Issues: 8
Requires
- 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
Requires (Dev)
- 10up/phpcs-composer: dev-master
- dev-develop
- 0.16.9
- 0.16.8
- 0.16.7
- 0.16.6
- 0.16.5
- 0.16.4
- 0.16.3
- 0.16.2
- 0.16.1
- 0.16
- 0.14.6
- 0.14.5
- 0.14.4
- 0.14.3
- 0.14.2
- 0.14.1
- 0.14
- 0.13.10
- 0.13.9
- 0.13.8
- 0.13.7
- 0.13.6
- 0.13.5
- 0.13.4
- 0.13.3
- 0.13.2
- 0.13.1
- 0.13
- 0.12.3
- 0.12.2
- 0.12.1
- 0.12
- 0.11
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.1
- 0.9
- dev-change/archive
- dev-feature/php-8
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/composer/rmccue/requests-1.8.0
- dev-master
- dev-joshuaabenazer-patch-1
- dev-feature/standard-tests
- dev-feature/wpinstructions
- dev-puppeteer
- dev-gitlab
- dev-feture/phpunit
This package is auto-updated.
Last update: 2024-05-02 18:48:47 UTC
README
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.
Requirements
- 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.
Install
Installation instructions are on the docs site.
Usage
Learn how to use WP Acceptance on the docs site.
Support Level
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!