Skip to content
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

Broken with the latest PHPUnit version #740

Closed
gehrisandro opened this issue Mar 13, 2023 · 3 comments · Fixed by #741
Closed

Broken with the latest PHPUnit version #740

gehrisandro opened this issue Mar 13, 2023 · 3 comments · Fixed by #741
Labels

Comments

@gehrisandro
Copy link

Q A
ParaTest version 7.1.0
PHPUnit version 10.0.16
PHP version 8.1.14

Summary

Fatal error: Uncaught Error: Call to undefined method PHPUnit\Event\TestSuite\TestSuite::fromTestSuite() in vendor/brianium/paratest/src/WrapperRunner/ApplicationForWrapperWorker.php:69

fromTestSuite() has been remove from PHPUnit:
sebastianbergmann/phpunit@29d5ed8#diff-dd79e073346deb652faa86b70cd845ca5683919ba92feb21cdc533eb941a6c92L27

Current behavior

Paratest does not run

How to reproduce: command, code and error stack trace

  1. Upgrade to the latest PHPUnit version
  2. Run Paratest

Expected behavior

Paratest should run

@gehrisandro
Copy link
Author

Thank you very much @Slamdunk

@dan-the-dev
Copy link

Tests are back to green so it's very good, thanks for the speed!
But this is my current output (only the end):

`
12754 / 1647 (774%)
12755 / 1647 (774%)
12756 / 1647 (774%)
. 12757 / 1647 (774%)
12758 / 1647 (774%)
12759 / 1647 (774%)
12760 / 1647 (774%)
12761 / 1647 (774%)
12762 / 1647 (774%)
12763 / 1647 (774%)
12764 / 1647 (774%)
12765 / 1647 (775%)
. 12766 / 1647 (775%)
12767 / 1647 (775%)
12768 / 1647 (775%)
12769 / 1647 (775%)
12770 / 1647 (775%)
12771 / 1647 (775%)
12772 / 1647 (775%)
12773 / 1647 (775%)
12774 / 1647 (775%)
. 12775 / 1647 (775%)

Time: 01:00.396, Memory: 54.00 MB

OK (1647 tests, 5237 assertions)`

there's probably something weird going on here :D it seems to work so no urgency.
Do you think it's worth for me to open a new bug?

@Slamdunk
Copy link
Member

Yes please

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

Successfully merging a pull request may close this issue.

3 participants