Wordpress plugin + phpunit testing -


i new in wordpress developement, have own custom wordpress plugin allows admin click multiple author , save meta tag in database on post. works fine. want generate test case that. installed phpunit don't know how write test case.

public function testone() {     $this->factory->post->create(); } 

i tried not understand how works.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -