Skip to content

10up/wp_mock

Folders and files

NameName
Last commit message
Last commit date
Mar 6, 2025
Mar 11, 2025
Jul 24, 2024
Mar 17, 2025
Mar 17, 2025
Apr 6, 2023
Jun 2, 2023
Jan 13, 2023
Sep 16, 2022
Mar 11, 2025
Jul 14, 2020
Jul 12, 2024
Jul 24, 2023
Jan 22, 2024
Jul 24, 2023
Sep 20, 2016
Oct 8, 2016
Jan 22, 2024
Mar 11, 2025
Jun 19, 2023
Apr 12, 2015
Aug 16, 2023
Mar 6, 2025
Jun 16, 2023

Repository files navigation

WP_Mock

WP_Mock is an API mocking framework, built and maintained by 10up and GoDaddy for the purpose of making it possible to properly unit test within a WordPress project.

Support Level PHP 7.4+ Coverage Status Packagist BSD-3-Clause License

Installation

Install WP_Mock as a dev-dependency using Composer:

composer require --dev 10up/wp_mock

Documentation

Learn more about how to configure and how to use WP_Mock by reading the WP_Mock documentation.

Changelog

A complete listing of all notable changes is documented in the Changelog.

Support Level

Active: 10up and GoDaddy are actively working on this, and we expect to continue work for the foreseeable future, including testing with the most recent version of WordPress and PHP. Bug reports, feature requests, questions, and pull requests are welcome.

Contributing

Please read our Code of Conduct for details on our code of conduct and our Contributing Guidelines for details on the process for submitting pull requests.

Supporters

WP_Mock is supported by 10up and GoDaddy. GitBook kindly offers free hosting for WP_Mock documentation.

A special thanks to all WP_Mock contributors.

Like what you see?