Tag: WP_UnitTestCase
WP_UnitTestCase: The Hidden API
Background: Unit testing is the automated testing of units of source code against assumptions. The goal of unit testing is to write test cases with assumptions that test if a unit of code is truly working as intended. If an assumption fails, a potential issue is exposed, and code needs to be revised. By definition…