Tide: Automated Testing for WordPress Plugins and Themes
Yet another way to contribute! Remember this 20-piece WordPress contribution chart with the tester Easter Egg? Even though testing is growing stronger in WordPress core with each release, it’s still mostly manual — usability, visual regression, accessibility, and beta testing with real sites before launch.
Now the tide is turning a bit more toward automation. I’m beyond thrilled to see this!
Tide is a new software test automation project kicking off in WordPress core.
Announced at WCUS 2017Tide is: “A path to better code across the WordPress ecosystem” — tools to run automated tests for all themes and plugins in the WordPress official directories.
Tide, a project started here at XWP and supported by Google, Automattic, and WP Engine, aims to equip WordPress users and developers to make better decisions about the plugins and themes they install and build.
Tide is a service, consisting of an API, Audit Server, and Sync Server, working in tandem to run a series of automated tests against the WordPress.org plugin and theme directories. Through the Tide plugin, the results of these tests are delivered as an aggregated score in the WordPress admin that represents the overall code quality of the plugin or theme. A comprehensive report is generated, equipping developers to better understand how they can increase the quality of their code.
Once up and running these automated tests would update the plugin and theme description with a status and score so everyone knows whether they pass the tests or not, from PHP version compatibility to the quality of the “front-end output.”
The Tide project is now officially moved over to the WordPress project. See the related story on WP Tavern for a longer history. And, if you’re curious like me about the tech “innards” — take a look at the source code on GitHub.
Screenshot of the Tide API plugin code on GitHub.
I love the genesis of the name:
…inspired by the proverb ‘A rising tide lifts all boats,’ thinking that if a tool like this could lower the barrier of entry to good quality code for enough developers, it could lift the quality of code across the whole WordPress ecosystem.” Rob Stinson
One key to success: Tide makes it super easy for developers to identify weaknesses in their code — and learn how to fix them. It’s not just about getting a high score or to ranking better against a minimum requirement. It’ll teach us all to improve. I love that.
My name is Lance, I am a blogger, product manager, software developer, and business executive creating high-quality, engaging, and customer-centered experiences for people online. México-born.
View all posts by Lance Willett