wp-browser WordPress Integration Testing with Codeception
wp-browser is a PHP library that provides Codeception modules for testing WordPress plugins and themes. It supports unit, integration, functional, and acceptance testing with WordPress-aware test environments and database isolation.
Installation
Use the upstream install or setup path that matches your environment:
- composer require --dev lucatume/wp-browser
Basic usage or getting-started notes:
An easy and quick setup, with a default configuration that will work for most projects, run end-to-end tests, integration tests and unit tests all with the same tool.
Depending on the nature of your project, there are different requirements it will need to satisfy before getting started.
Site
Extracted from upstream docs: https://raw.githubusercontent.com/lucatume/wp-browser/HEAD/README.md