WP Codeception archived
Integrates Codeception framework into WordPress and allows run tests using WP CLI command.
★ 101stars
4.3kcomposer installs
11forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/10up/wp-codeception/archive/refs/heads/master.zipAlso on Packagist as 10up/wp-codeception:
composer require 10up/wp-codeceptionFrom the readme
WP Codeception
This is a WordPress Plugin which integrates with the Codeception PHP testing framework and allows you to write and run Codeception tests for WordPress via WP CLI.
We're working towards supporting all of Codeceptions commands. If you find one we haven't included yet, please submit a Pull Request!
Installation
Download the latest version and extract, or clone the repository with Git into a new directory wp-content/plugins/wp-codeception in your WordPress install.
Install required node modules and composer dependencies
We'll run our commands from within VVV because WP CLI, Node, and Composer are already installed for us there.
Afterwards you'll have a new vendor directory within your plugins/wp-codeception directory which contains all the code libraries we're dependant on.
Install as a composer dependency
There is an alternative way to install this plugin. You can add it as a composer dependency for your project. To do it, run following command in your terminal:
This command will install the plugin and all its dependencies for your project. Please, pay attention that if you already use composer/installers dependency in your project, then wp-codeception will be
Read the full README on GitHub →