GitHub - 10up/wpacceptance: (Beta) A team scalable solution for reliable WordPre...
source link: https://github.com/10up/wpacceptance
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
WP Acceptance
WP Acceptance is a toolkit that empowers developers and CI pipelines to test codebases using version controlled acceptance tests and sharable environments.
Requirements
- PHP 7.2+
- mysqli PHP extension
- Docker
- Node >= 8 (WP Acceptance uses Puppeteer behind the scenes)
WP Local Docker is highly recommended as the local development environment but not required.
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.
Install
Installation instructions are on the docs site.
Usage
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK