Where can I find documentation for the WP_UnitTestCase factory classes?
As far as I know, there is no documentation for it at present. The official source is here. I have also written a tutorial on unit testing WordPress plugins, which gives some detail about this feature. One of the advantages of using WP_UnitTestCase is its factories. These can be accessed through the factory member variable. … Read more