Back to Browse

Fixing a WordPress Plugin Bug 🐛 with Unit Testing

774 views
Apr 24, 2020
49:26

I fixed a bug in the Widget Context plugin using PHP unit testing. https://kaspars.net/blog/wordpress-plugin-bug-unit-testing I start out by writing a unit test for the part of code that is responsible for the specific functionality and the new test actually fails so I’m able to find the bug and fix it while looking at related issues. At the end I do the release dance — update the plugin version number, write a changelog, tag a release on GitHub and deploy to the WordPress plugin repository https://wordpress.org/support/plugin/widget-context/ Get Widget Context PRO at https://widgetcontext.com/pro

Download

0 formats

No download links available.

Fixing a WordPress Plugin Bug 🐛 with Unit Testing | NatokHD