Skip to content

PHPUnit 6: No test case / test suite found for file #6

@JercSi

Description

@JercSi

Class 'PHPUnit_Framework_TestCase' does not exist in PHPUnit 6.

I changed the SuperClass to 'PHPUnit\Framework\TestCase', 'TestCase', to blank value,... and result is always 'Error: No test case / test suite found for file '.

If i set PHPUnit back to 5.7 with using namespaces it still does not work. But when i change back to 'extends PHPUnit_Framework_TestCase' it's working. No matter what i have in 'SuperClass'.

Any idea how to make Eclipse to work with PHPUnit 6+?

phpunit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions