"Leverage described class" #5
Replies: 1 comment 1 reply
-
Perhaps there is a good rationale for this suggestion, but that rationale doesn't seem clear from the example given. How often do you rename a class? It happens but it's not very common. If you renamed a class, there is no possible way you would fail to do a global search across all of your code, including your specs. It's not as though you would miss the mention of However there can be a cost because the test can become less readable due to an added layer of mental indirection. When you read I would personally treat |
Beta Was this translation helpful? Give feedback.
-
What are your thoughts on https://evenbetterspecs.github.io/#leverage-described-class?
Beta Was this translation helpful? Give feedback.
All reactions