Unit-testing your WordPress plugin can be challenging. Luckily there are tools out there making it a lot easier. In this post, we will be covering the following tools: PHPUnit, Mockery and BrainMonkey. Together these tools can be a powerful tool to ensure the technical quality of your plugin. Before we started using these tools at …Read: "Unit-testing with mocks in WordPress"
Recent WordPress articles
This week, we released our first digital story; Diversity, inequality, and prejudice; a sociological exploration. This is the first in what will, hopefully, become a small series of stories that really define our mission, company culture, and broader vision. With these stories, we want to explore the possibilities the WordPress block editor has to offer …Read: "Digital storytelling in the age of blocks"
As WordPress developers, we're busy with developing features most of the time. Developing functionalities is awesome, but a lot can go wrong too, unfortunately. One way to help prevent things going awry is having your own blog. Here, I'll explain how writing for my own blog helped me understand WordPress users better and improved my …Read: "Every WordPress developer should have their own blog!"
Plugins and themes from the WordPress.org repository install as stand-alone packages; they need to contain all the code, files, and dependencies needed to function correctly. Because there is no centralized system with an overview of all the dependencies used in different WordPress plugins and themes, they all need to implement their own safety net. Dependencies …Read: "Safely using PHP dependencies in the WordPress ecosystem"
What’s it like building blocks for the new block editor for WordPress? Turns out it’s pretty hard. Our front-end developer Sjardo Janssen spent a considerable amount of time learning how to do this. The new editor is built on technologies unfamiliar for many front-ender, Sjardo found. He also found it incredibly hard obtaining what he …Read: "Developing Gutenblocks is not for the faint of heart"
Over the last couple of weeks I have been dealing with the fine art of CSS. Although that is not my daily business anymore - because I lead the website review team here at Yoast - I really enjoyed mastering SCSS and using that for an actual design. During this field trip, I encountered several …Read: "Breaking up responsive design"