Introduction

Welcome! WordHat is an integration layer between Behat, Mink, and WordPress. It provides WordPress-specific functionality for common testing scenarios specific to WordPress sites.

What does Behat and Mink do?

Behat and Mink allow you to describe the behavior of a website in plain, but stylised, language, and then turn that description into an automated test that will visit the site and perform each step you describe.

Such functional tests can help site builders ensure that the added value they have created while building a WordPress site continues to behave as expected, after any sort of site change – WordPress updates, new plugins, new features, and so on.

What does WordHat do?

The extension provides step definitions that help you implement tests for common WordPress tasks:

  • Manage themes and plugins.
  • Manipulate site content.
  • And more!

Contributions are welcomed!

If you encounter a bug, have a suggestion, or would like to help the project grow, please get in contact via Github.