Skip to content

HTML report fails to load dependencies (JS, CSS, Fonts) #654

Description

@merauluka
Q A
php-code-coverage version 5.3.2
PHP version 7.1.18
Driver Xdebug
Xdebug version (if used) 2.5.0
Installation Method Composer
Usage Method PHPUnit
PHPUnit version (if used) 6.5.13

I am using PHP Unit alongside Drupal to test custom classes we are creating. I really like using the HTML report since it shows a detailed breakdown of the lines and methods covered by our tests. However, after a recent update, our virtual machines are no longer loading dependencies from the generated reports. I see this is due to a change that came through that makes the dependency folders for css, fonts, and js hidden folders.

The original post that the issue was marked as having solved requested that the folders begin with an underscore to ensure that the dependency folders begin with an underscore to prevent unintended overriding of a project's theme folders. (see #451 and its commit, 57aa564)

Since this was committed over a year ago, I'm assuming that this hasn't been a problem for many others. But we are in need of a path forward for this feature. I welcome any ideas that could help us resolve this. Currently I've been having to remove the leading period from the directories and in the code referencing the directories and it instantly begins working again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions