-
Notifications
You must be signed in to change notification settings - Fork 0
06. Package Development & Testing
If you are contributing to StatComm or running local feature modifications, you can spin up the full testing sandbox locally.
To tie a local fork of this plugin to your active blog workspace for debugging, configure a path repository inside your blog's root composer.json file:
"repositories": [
{
"type": "path",
"url": "addons/statcomm",
"options": {
"symlink": true
}
}
],
"require": {
"huement/statcomm": "*"
}Run composer update huement/statcomm to generate a live, active symlink shortcut.
StatComm features full unit and feature coverage driven by Pest PHP and Orchestra Testbench.
To run the isolated tests, navigate directly inside the addon directory via your terminal (or your Laravel Sail Docker terminal) and initialize the local package dependencies:
cd addons/statcomm
composer install
./vendor/bin/pestEngineered / sponsored by Huement.com.
If this software saved you time or a headache, consider keeping the engine running!