First time, when I try to setup PHPUnit inside a WordPress plugin, it seems like I can not run test for this plugin. After spending more hours on it, now it seems like its so easy like create a plugin in WordPress. I have learned many things during this process. Like how to create a… Continue reading Setup PHPUnit in WordPress plugin with WP CLI
Category: PHPUnit Test
Run test command with composer
For PHPUnit test, you might have different version for your local dependency and global installation. You might have installed latest version of composer globally and older version of composer for you local project like me. For globally you can run phpunit command from your terminal. But for the local project with different dependency you can… Continue reading Run test command with composer
How to install PHPUnit on windows
Installing PHPUnit on Windows operationg system is really painful. I was thinking like the above line last 2 days, since I installed and run phpunit command globally. In order to install it on your local machine, you need to setup composer first. How to install composer on windows is not part of this tutorial. Thats… Continue reading How to install PHPUnit on windows