-
Notifications
You must be signed in to change notification settings - Fork 67
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
cut
as default
#399
cut
as default
#399
Conversation
@estevao-schultz-neto-SAP: Would you mind reviewing the new documentation? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Buddy, I don't think this check should be "enforced" in the sense that someone will need to use the pseudo-comment in case he/she has used a MEANINGFUL name. I think we have a mismatch here. From the text: "...In a test class, the code under the test can be represented using a meaningful name, or cut
as a default..." either CUT or a MEANINGFUL name should be accepted. But what is a meaningful name then? Subjective...
Long story short: IMHO, this CHECK will mostly be used as a NOTIFICATION in case someone is not using "cut" (and in case the team agreed so -- team decision).
Moreover, I would change the description so that: _"...In a test class, the code under the test can be represented using a meaningful name or cut
as a default. If your team decided to use 'cut', this check can be helpful on identifying deviations.". _
We talk about it further.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
All the checks are NOTIFICATION by default so, as you mentioned, it is up to the team to decide if they want to follow cut as the main default or not. The check will just support these ones. Besides, I will enhance the documentation as you mentioned. |
Closing this as no longer relevant |
No description provided.