10up/wp_mock

A mocking library to take the pain out of unit testing for WordPress

Maintainers

Details

github.com/10up/wp_mock

Source

Issues

Installs: 1 714 168

Dependents: 244

Suggesters: 0

Security: 0

Stars: 622

Watchers: 43

Forks: 69

Open Issues: 11

0.5.0 2022-11-01 03:01 UTC

This package is auto-updated.

Last update: 2023-06-02 01:35:20 UTC


README

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.3+ Coverage Status Packagist GPLv2 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.

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?

68747470733a2f2f313075702e636f6d2f75706c6f6164732f323031362f31302f313075702d4769746875622d42616e6e65722e706e67