Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Which Command Can I Use To Run A Single Unit Test in Zend PHP

I am new to Zend PHP and I am trying to run just one test out of all my tests. I can’t seem to find a command for that. For instance how do I run testDoSomething out of all the numerous test that I have in my codebase.

I am currently using this command to run my test
phpunit --testdox --verbose -c tests

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can use

phpunit --testdox --verbose -c tests --filter testDoSomething

To run only the testDoSomething tests

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading