Menu

WordPress Tutorials

A curated resource for learning WordPress

Menu
  • Home
  • Gutenberg
  • WordPress Development
    • REST API
    • Hooks & Filters
  • WordPress Basics
  • WordPress Performance
  • WordPress Tutorials
    • Genesis
  • Contact
Browse: Home → Unit Testing Custom WordPress REST API Endpoints

Unit Testing Custom WordPress REST API Endpoints

I’ve written a lot about the WordPress REST API for Torque, but one thing I have not covered is unit testing custom APIs. That is exactly what this article is.

I used a PHP program run the code and compare the results to an expected value. If you want to learn more, I would recommend reading Pippin Williamson’s series on WordPress unit testing.

Read Full Tutorial
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
January 18, 2017 WordPress Development Torque
Previous Previous Post

4 Simple Ways to Setup Stripe for WordPress

Next Next Post

Create Your Own WordPress Rest Endpoints

Copyright © 2016 WordPress Tutorials & more!

Powered by WordPress and Neutro