I am using PHP 7.0 and executing tests cases with PHPunit. those are working fine. but when trying to run PHPUnit with --coverage-html option using PHPUnit 6.3.0 or 5.7.23, but it just displays available options rather than generating code coverage report.
I am not using any phpunit.xml file, is that mandatory and if yes then how to put my directory. I have two folders in my project - one for lib (core php class files) and another one for tests which has unit test cases.
--coverage-htmlrequires an argument -- the directory to store the coverage report in.