-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
TestClassSuffixNameRule #609
Conversation
Let's wait until somebody comments on https://www.drupal.org/project/drupal/issues/3268489#comment-15252653 about the |
Verdict is in:
For me the rule works as expected and is ready for review. |
Let's see if we can do something more here by also checking for namespaces, and most importantly for tests being picked up by the test runner directory naming. |
@Boegie I'll defer to your judgement if the baseline failures look OK. When you say it's good, I'll merge |
Ohh, the pressure... ;) Thanks @mglaman, I have something cooking locally that has three rules for test classes, one for the class name (this one), one for the namespace and one for the file location. Since they both use a lot of the same code it makes sense to me to create a base class for this, thus trying to create one PR to rule them all. Shouldn't be long... |
Trying to implement #608