10up/wp_mock
wp_mock is a Mockery-powered library for unit testing WordPress plugins and themes. It lets you mock core functions, hooks, and globals so tests run fast and isolated, without a WordPress install.
WP_Mock is a PHP mocking library that lets you unit test WordPress plugins and themes without loading a full WordPress installation. Built on top of Mockery and PHPUnit, it intercepts WordPress functions, hooks, and globals so your tests stay fast, isolated, and independent of a database or web server.
WP_Mock::userFunction()expectAction() and expectFilter()wp_remote_* HTTP callsWP_Mock\Tools\TestCase base classWP_Mock::tearDown()How can I help you explore Laravel packages today?