filmov
tv
Test-Driven WordPress Development - Using Laravel's Container In A WordPress Plugin

Показать описание
How I use Plugin Machine for test driven WordPress development using phpunit, Docker, and the WordPress test suite. In this video I explain how I use a plugin's test to implement new features.
In this case, what I am doing is setting up Laravel's service container in my plugin. This is an alternative to using a main plugin class that is a singleton.
🌲 Short video about using Plugin Machine to setup for PHP testing
In this case, what I am doing is setting up Laravel's service container in my plugin. This is an alternative to using a main plugin class that is a singleton.
🌲 Short video about using Plugin Machine to setup for PHP testing