You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good idea. Would recommend not putting it into no-identical-title because a config option seems weird for a completely separate part of rule logic. Might want to include both suggestions in one though since they share the format string parsing of test names.
I was just today trying to see whether no-identical-title would help me remember to put at least : %p at the end of my .each blocks :).
Turns out it doesn't, and +1 to this issue -- having any way to force myself to not forget, would be great, regardless if it's the no-identical-title or any other rule that I have to enable.
Cheers
G-Rath
changed the title
Rule proposal: Formatting specifiers in .each test names
[new-rule] formatting specifiers in .each test names
Aug 27, 2022
In
.each
test (and describe block) names it's possible to use printf-like formatting.I would like to have a new rule (or 2 rules) that would:
no-identical-title
?)The text was updated successfully, but these errors were encountered: