Skip to content

Add support for PHPUnit 10Β #262

@owenvoke

Description

@owenvoke

There is an upcoming major version bump for PHPUnit. This seems to contain some breaking changes that affect Pest.


Current issues

  • Custom TestSuiteLoader deprecation
    I think that this is now indirectly causing issues as it now seems to expect any selected file in the testsuite directory to contain a PHP class. So if the testsuite directory is set to tests/ and suffix=".php" (as per our current suite), it tries loading all files that are pascal case as a class. This means that tests/Autoload.php is loaded as a class, as are all the datasets, etc.

    This basically means that all Pest-syntax tests will fail, as they don't contain a class in the files. 😬

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions