Skip to content

Does not work with PHPUnit 4.x #3

@jhuckaby

Description

@jhuckaby

I cannot get PHPUnit_Html working with PHPUnit 4.0.14. The error I am seeing is:

26768845-460c-4a04-8e7b-3a8451a9e4ac

It looks like PHPUnit has undergone a radical design change from v3 to v4, and is no longer shipping with separate PHP class files. Everything is now bundled inside the "phpunit" binary executable. The recommended install instructions now include downloading a single file which is renamed to "phpunit" and becomes the binary executable. No external PHP class files are included.

http://phpunit.de/manual/current/en/installation.html#installation.phar

This means PHPUnit_Html can no longer load PHPUnit from inside PHP. Specifically, in main.php line 132, the "PHPUnit/Autoload.php" file no longer exists, because PHPUnit 4.x no longer installs it.

I've been through the PHPUnit installation instructions, including the "optional packages" section, and can find no way to include the files needed to make PHPUnit_Html work again. Any ideas?

Thanks in advance.

  • Joe

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