November 19, 2019
This talk introduces the fundamentals of automated testing, especially within the context of WordPress. After developing an understanding why automated testing is so critical, attendees will learn how to begin testing their plugins and themes, using features found both in PHPUnit and the WordPress core testing framework, to build and release quality software.
June 30, 2021 at 4:32 pm |
Great talk, really appreciate the perspective given and the example tips and gotchas at the end!
I tried to follow along and got stuck during setup. For anyone trying to get this running here are some useful links:
WP Handbook on Plugin Integration Tests
https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/
WP Handbook PHPUnit Compatibility and WordPress Versions:
https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/
Pippins Plugins guide to unit testing WP
https://pippinsplugins.com/unit-tests-wordpress-plugins-setting-up-testing-suite/
LikeLike