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

Class extending PHPUnit\Framework\TestSuite does not extend PHPUnit\FrameworkTestCase #2950

giorgiosironi opened this issue Jan 4, 2018 · 2 comments · Fixed by N0rthernL1ghts/eloquent-bootstrap#2 or Zemhart/project_UAS_PHP#20


Copy link

giorgiosironi commented Jan 4, 2018

PHPUnit version 6.5.5
PHP version 7.0.26
Installation Method Composer
PHP Fatal error:  Uncaught PHPUnit\Framework\Exception: Class "PHPUnit_Extensions_SeleniumBrowserSuite" does not extend PHPUnit\Framework\TestCase.


May be related to #2859 If it's not that, I can try to reduce the test case to something smaller and pastable here.

Copy link

  • I do not understand what you are trying to report
  • PHPUnit\Framework\TestSuite never extended PHPUnit\Framework\TestSuite
  • Sooner or later, PHPUnit\Framework\TestSuite will be gone. Hopefully with PHPUnit 8

Copy link
Contributor Author

PHPUnit_Extensions_SeleniumBrowserSuite has been working as an extension of PHPUnit_Framework_TestSuite (now PHPUnit\Framework\TestSuite). It looks like it was able to run transparently as a PHPUnit\Framework\TestCase in PHPUnit 6.3.0, but from 6.5.5 (or possibly earlier).

When the class is gone as part of a new major version, phpunit-selenium should rewrite its dynamic generation of test cases not to use this class.

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