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 -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -