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

*TestSuite classes are deprecated #875

Open
github-actions bot opened this issue Oct 20, 2024 · 0 comments
Open

*TestSuite classes are deprecated #875

github-actions bot opened this issue Oct 20, 2024 · 0 comments
Labels

Comments

@github-actions
Copy link

https://www.drupal.org/node/3405829

Introduced in branch/version: 10.3.x / 10.3.0

In PHPUnit 10,

PHPUnit no longer invokes a static method named `suite` on a class that is declared in a file that is passed as an argument to the CLI test runner

this will make the *TestSuite classes implemented in Drupal dead code.

Those classes are now deprecated.

Check PHPUnit's Organizing Tests documentation on how to compose test suites via the file system or via XML configuration.

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

No branches or pull requests

0 participants