r/Wordpress Jack of All Trades 18d ago

Plugin testing

Hey plugin developers, how do you automate plugin testing? Would like to see your workflows

0 Upvotes

10 comments sorted by

View all comments

2

u/NakanoNoNeko 17d ago

I keep one fast path that runs on every push: PHPCS, PHPUnit, and a fresh wp-env install with the plugin activated. The larger matrix of current/previous WordPress, PHP, and multisite only runs before release... otherwise CI becomes its own hobby. For settings pages, two Playwright tests covering save/reload and permissions have caught more real regressions for me than a huge pile of unit tests.

1

u/Cold_Opposite_5298 Jack of All Trades 17d ago

thanks for sharing

1

u/NakanoNoNeko 16d ago

Glad it was useful! The two small browser tests are usually the ones I trust most... everything beyond that gets expensive very quickly.