How to pass parameters to PHPUnit?

Posted by Prem Tiwari | Updated on

In this example, I have shared how to pass parameters to PHPUnit? One way would be for you to inspect $argv and $argc. something like below example:

Then you can call your phpunittest like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers