theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
599 stars 121 forks source link

PHPUnit Enricher and XMLNS #364

Closed fdirson-OpenGateway closed 5 years ago

fdirson-OpenGateway commented 5 years ago

Hi there,

The generated html doc doesn't display code coverage ( -> EMPTY)

I'm using "phpunit/phpunit" : "~7.5.2" and "theseer/phpdox" : "~0.12.0". PHP Version: 7.3.1 (WINNT) PHPDox Version: 0.12.0-dev

It seems that XMLNS for phpunit use only https URL (i can see it in $indexDom object (src/generator/engine/html/Html.php on line 211)".

I can fix it if i replace all 'xmlns:pu="http://schema.phpunit.de/coverage/1.0"' occurences by 'xmlns:pu="https://schema.phpunit.de/coverage/1.0"' in templates directory xsl files. Now i can see 'PASSED' on classes list and good values in coverage section on class details.

But I still got no data on Overview HTML: Tests Classes 0 Methods 0

Regards,

F.DIRSON

theseer commented 5 years ago

Sounds like a duplicate of #361.

If I'm wrong, pleaes add another comment and I'll reopen this.

theseer commented 5 years ago

With "overview html" you mean the index dashboard? The data there is based on phploc's output. It has nothing to do with coverage reports. If it reports 0 for all of them, that means phploc didn't find any tests.

fdirson-OpenGateway commented 5 years ago

You're right, it's a duplicate of #361. Thanks for overview html, so i'll check phploc reports.