The WordPress Unit Testing Framework contains a set of custom assertion helper methods which help with writing unit test.

In this post, we’ll present these helper methods available through the WP_UnitTestCase case class. Each method is presented with its function signature, a description of what it does, as well as a sample usage in a unit test.

Read More