August 13, 2018 — This is a development-specific workshop, so you should have an idea about coding in general. Besides that, the workshop itself does not require any specific skill or knowledge.
We’ve all had these “Wait, what? That worked the other day!” moments. They usually happen after we introduced a new feature but broke existing functionality in the process. This is why we often don’t feel confident that our code is working as expected. When developing plugins—or whole websites—this is important, though. Clients expect that making changes won’t break their sites. But can we be sure of that?
There is a solution for that, and it’s called Unit Testing! During this hands-on workshop, we’ll help you understand what testable code is and how to write unit tests for it. Armed with this knowledge, you’ll be able to prevent these embarrassing moments from ever happening again.
April 27, 2018 — This presentation is an introduction to how to unit test WordPress plugins. PHPUnit is the standard PHP testing framework, but getting it working with a WordPress plugin is challenging. The presentation covers: – Advantages that unit tests provide – Scaffolding a new plugin and its unit tests using WP-CLI – Writing and running the first unit test.
April 27, 2018 — This presentation is an introduction to how to unit test WordPress plugins. PHPUnit is the standard PHP testing framework, but getting it working with a WordPress plugin is challenging. The presentation covers: – Advantages that unit tests provide – Scaffolding a new plugin and its unit tests using WP-CLI – Writing and running the first unit test.
April 27, 2018 — One of the most known leitmotif for people into code quality assurance is: “run unit tests in isolation”.
To apply this principle to code written for WordPress will bring us to write tests to be ran without loading WordPress.
The talk will mostly pivot on real-world examples of unit-testing WordPress plugins in isolation.
October 3, 2017 — Как да правим автоматизирани тестове в WordPress? Има ли почва за unit tests в него? Що е то Behavior Driven Development, Gherkin, Beehat и WordHat?
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.
July 4, 2016 — Words like “unit testing,” “acceptance testing” and “test-driven development” are slowly becoming part of the WordPress development landscape. Let’s understand some of those buzz-words building a catapult.
April 20, 2016 — React ist eine JavaScript-Bibliothek zum Erstellen von Benutzeroberflächen. Sie wurde 2013 von Facebook unter BSD-Lizenz veröffentlicht und schlägt seitdem immer größere Wellen.
Im seinem Vortrag möchte uns Paul zeigen, wie wir unseren mit React umgesetzten Code (automatisiert) testen können.
February 7, 2016 — What is a test? Why should one test? Who should test? What, when, and how should be tested? These questions and more are to be answered. Primarily, this session is aimed at developers. Designers, and (technical) project leads and managers, however, are addressed as well, because they also take a part in the development process, and hence testing.
While the talk will be given in German, the slides are in English. So even if you’re not a German native speaker, you should be able to follow.
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.