Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.0.0
-
None
-
None
Description
From Bertrand Dechoux via user mailing list.
"The issue is that I might no know the name of the counters because they are dynamic. Even the group name is kind of dynamic because for warning counters, I use the class name and so it might change after refactoring."
Currently it is difficult to test counters with dynamically generated names. Also, as Bertrand mentioned in the email, hardcoding names can make tests brittle and break after code refactoring.