June 19, 2017 — Harshad Mane is a PHP Programmer and a WordPress Enthusiast. He’s passionate about WordPress, and using it to develop modern and impressive websites. The talk has covered:
1. What is PHPUnit testing.
2. Why unit testing is important?
3. Difference between Unit and Acceptance test.
4. Introduction to PHPUnit,
5. How to setup PHPUnit using WP-CLI.
6. Assertion Methods.
7. How to write test cases.
February 4, 2016 — This session gives an introduction to how to test WordPress plugins with unit tests, focusing on the advantages it provides. We’ll have a look together at the main steps to set up a first test case.
December 10, 2015 — Let unit testing save you from this nightmare. It’s a lot like coding with a safety net (or body armor if that’s how you roll). It lets you go a bit crazy while minimizing repercussions (as long as the police don’t show up).
Want to try something new? No worries! It’ll let you know if something isn’t working as it should. That’s how most paid plugins maintain a high level of quality over the years.
December 7, 2015 — 継続的インテグレーション、CI（英: continuous integration）とは、主にプログラマーのアプリケーション作成時の品質改善や納期の短縮のための習慣のことです。(wikipedia引用)
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.