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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -