July 16, 2015 — The quickest way to damage your reputation is by releasing a plugin or theme full of bugs. And no, a few unit tests are not going to stop that from happening! In this talk, I share my experience in testing the WordPress plugins I’ve developed and we’ll dig into Codeception, an advanced PHP testing framework.
June 25, 2015 — A great growth strategy can dramatically improve the performances of our online businesses. No matter if you are running an E-Commerce, a publishing site or a personal blog, having a good plan and well oiled tools definitely help our decision making. Next to a solid planning there are many ways to perform A/B tests, Usability tests, and performance tracking but only a few ways to do them right. Luca’s presentation explores strategies of growth WordPress and the basics of A/B testing, going through the available online tools, the common mistakes and the right procedures.
May 29, 2015 — This talk introduces the concept of behaviour driven tests, rather then looking at the codes logic these tests looks at the larger application and checks it does what we and our boss expects. It focuses around the using Codeception a PHP based testing suite with WordPress to provide acceptance, visual regression and API test coverage for plugin, themes and sites. The talk is suitable for any developer, who is interesting in improving testing within their applications, especially those who may have been in the past put off by unit testing. The goal to speed up peoples development by automating testing they already do and improve coverage of tests, as well as looking at interesting “other uses” for acceptance testing.
April 4, 2015 — Certains plugins rajoutent à WordPress une ou quelques fonctionnalités, d’autres sont au contraire une véritable suite logicielle supplémentaire. Pour tous ces plugins, écrire des unit tests (« tests unitaires » en français) peut sembler lourd, compliqué, inutile, voire même les trois à la fois.
Cette conférence démystifiera le concept obscur et parfois effrayant des unit tests, expliquera pourquoi il faut en écrire, même pour des plugins simples, comment en écrire, et enfin comment automatiser les tests pour accélerer le développement.
November 19, 2014 — Trust me, maintaining software is sooo much easier when you have unit tests to let you know when changes meet their goals or introduce new bugs. PHPUnit is the standard suite for testing and analyzing PHP code. But getting PHPUnit working with a WordPress plugin is challenging. This presentation explains the unit tests created for the Login Security Solution plugin. How to mediate the conflict between WordPress’ heavy reliance on globally scoped variables (groan) and PHPUnit’s squashing of global variables
How to test calls to wp_mail(), wp_logout(), wp_redirect()
How to continue execution after PHP produces expected errors
Verifying database inserts that have auto-increment ID’s
September 8, 2014 — We all know that we should probably be testing our code but how on earth do you start? Well we’re going to talk about WP CLI and Vagrant and how that sets up testing for you. We’ll take a look at some test patterns and a Github repo started to hold test patterns for people to refer to.
June 12, 2014 — Unit testing can be scary for anyone who’s not a hard-core dev. But they don’t need to be! I’ll help you get up and running with the WordPress unit test framework so your new patches will never need to sit idle on this report page again! Even if you don’t have a patch to contribute to WordPress, you can still get your name on the contributor list by writing tests for any patches that live on this report, too!
March 29, 2014 — Your plugin is broken; do you know why? This session shows some simple principles to help you integrate unit testing in your plugins that will help you find and eliminate bugs before they happen.
December 11, 2013 — What are unit tests? Why put the effort into writing unit tests? You might say, “Heck, I know my code works because I wrote it, sniff”… Besides, what do sustainable unit tests look like so I don’t have to spend all of my time on them? If this sounds familiar, this talk is for you. You will be introduced to the world of testing, with a focus on testing at the unit level, along with demonstrating practical examples for WordPress plugin development.
November 29, 2013 — WordPress has it’s own testing environment. Integrating PHPUnit with the WordPress testing framework can not only improve your code quality, but also your architecture. This talk walks through the process of integrating these environments into your plugin development for more efficient code and easier feature development.