Tag Info

New answers tagged


I've had to mock WordPress's HTTP request functions on a few occasions, and so I decided to build a tool for doing that: WP HTTP TestCase Basically it provides an easy way to do the various things that the other answers have outlined. From the readme: WP HTTP Testcase PHPUnit testcase for testing code that uses WordPress's WP_Http class. If ...

Top 50 recent answers are included