Skip to content

Class 'PHPUnit_Framework_TestCase' not found #21816

@fabienlem

Description

@fabienlem
Q A
Bug report? yes
Feature request? no
BC Break report? probably
RFC? no
Symfony version 3.2.4

Hello symfony's team,

I'm experiencing an issue with Symfony 3.2.4. I want to implement functionnal tests by following this documentation: http://symfony.com/doc/current/best_practices/tests.html

When I run the test with the following command:
phpunit tests/AppBundle

I got an error:
Class 'PHPUnit_Framework_TestCase' not found

I'm using the latest stable PHPUnit version, installed as PHAR.

Is it a bug or did I missed something? I can't find further information about this issue.

Thank you a lot for your help.

Kind regards,
Fabien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions