Start MySQL Server - dotherightthing/generator-wpdtrt-plugin-boilerplate GitHub Wiki
Start MySQL Server
The generator includes support for WP_UnitTestCase
tests. These are automated tests which are run inside a fresh instance of WordPress.
Because a working instance of WordPress requires an active LAMP stack, it is necessary for this to be installed and working in the development environment. The setup process also requires access to the the MySQL server ( or mysqld
), so that a new database can be created.
I use MAMP Pro on MacOS, as it is generally stable and provides options to switch between versions of PHP. To start both the Apache and MySQL servers, click on the blue elephant icon, and choose Start servers.
See DTRT WordPress Plugin Boilerplate: WordPress Unit Tests for more information.