Skip to content

Failure with data providers #21

Closed
@ogizanagi

Description

@ogizanagi

👋

If a failing test uses data providers, such an error would occur:

-previous: ReflectionException {#4506
      #message: "Method testListAction with data set #foo does not exist"
      #code: 0
      #file: "./vendor/mheap/phpunit-github-actions-printer/src/Printer7.php"
      #line: 98

because \PHPUnit\Framework\TestFailure::getTestName includes the data set name.

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