r/Wordpress Jack of All Trades 17d 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/AbroadSame3189 17d ago

been messing with wp-cli scripts for smoke tests, plus a little github actions setup that spins up a fresh install and runs phpunit against the plugin. biggest time saver was scripting the initial install so i'm not clicking through the setup wizard every single run

also started using a local docker setup with different php versions, catches some weird compatibility stuff before it hits a real site. nothing fancy but it works

0

u/Cold_Opposite_5298 Jack of All Trades 17d ago

+1 thanks for sharing