-
Notifications
You must be signed in to change notification settings - Fork 4
Running Unit Tests on Local By Flywheel
George Gecewicz edited this page Jun 16, 2019
·
4 revisions
You don't have to use Local by Flywheel for your local dev site or to run tests, but it makes things easy. This documentation shows how to run unit tests for Constant Contact Forms when on a Local by Flywheel site.
The general process is as follows, with each step elaborated upon below:
- Install PHPUnit
- Backup the Local site's database
- Initialize the testing environment
- Run the tests
- From the root directory of the plugin,
- Run the following command:
./vendor/bin/phpunit