Skip to content

Failure with data providers #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ogizanagi opened this issue Oct 27, 2020 · 1 comment · Fixed by #22
Closed

Failure with data providers #21

ogizanagi opened this issue Oct 27, 2020 · 1 comment · Fixed by #22

Comments

@ogizanagi
Copy link

👋

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.

@mheap
Copy link
Owner

mheap commented Nov 9, 2020

Released as 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants