‘unit testing’ Videos

  • Carl Alexander: Introduction to WordPress Unit Testing

    WordCamp US 2015Speaker: Carl Alexander

    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.

  • Luca Tumedei: La mia storia da WordPress Contributor

    WordPress Contributor Day ItalySpeaker: Luca Tumedei

    November 24, 2015 — Intervista fatta a Luca Tumedei al primo «WordPress Contributor Day» italiano, organizzato dalla «Italia WP Community» a Milano il 7 novembre del 2015. #wpcdit

  • Luca Tumedei: Test-driven Development (TDD) in WordPress

    WPDay 2015Speaker: Luca Tumedei

    November 13, 2015 — Sviluppo guidato dai test in ambiente WordPress. La prima parte della frase fa aggrottare la fronte in condizioni normali: in ambiente WordPress assume un che di mistico ed irraggiungibile. Non è così.

    Presentation Slides »

  • David Aguilera: From Good to Great – Functional and Acceptance Testing in WordPress

    WordCamp Europe 2015Speaker: David Aguilera

    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.

  • Luca Sartoni: Growth Strategies On WordPress

    WordCamp Cologne 2015Speaker: Luca Sartoni

    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.

  • Tim Nash: Going Beyond Unit Tests

    WordCamp London 2015Speaker: Tim Nash

    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.

    Presentation Slides »

  • Richard Ozh : Des Unit Tests pour ses plugins – pourquoi, comment ?

    WordCamp Paris 2015Speaker: Richard Ozh

    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.

    Presentation Slides »

  • Daniel Convissor: Unit Testing WordPress Plugins with PHPUnit

    WordCamp NYC 2014Speaker: Daniel Convissor

    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

  • Curtis McHale: Getting Started With Unit Tests

    WordCamp Vancouver 2014Speaker: Curtis McHale

    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.

    Presentation Slides »

  • Eric Mann: {12} Needs Unit Tests

    WordCamp Phoenix 2014Speaker: Eric Mann

    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!