[wp-hackers] plugins unit testing

Bryan Petty bryan at ibaku.net
Fri Mar 8 21:11:20 UTC 2013


On Fri, Mar 8, 2013 at 12:14 PM, Paolo Tresso
<paolo.tresso at swergroup.com> wrote:
> Seems that I forgot what the $factory object can do. There's any kind of
> documentation available for it? Can't find any except the code (and it
> helps, but not so much).

Would have been nice to have docs for it, but I'm not aware of any
either. The best way to figure it out though is simply to read through
some of WordPress's own unit tests to see how various factories are
used and how some more difficult components are tested.

Regards,
Bryan Petty


More information about the wp-hackers mailing list