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
Many of these rules seem completely arbitrary. Listing the reasons for them, a source, or some sort of description would help alleviate this feeling. For example, why is there a rule around using a Date?
The text was updated successfully, but these errors were encountered:
Much like any metric system cuke_sniffer is not meant to be a system for rigid enforcement but as a series of guidelines that other developers have used in their time using Cucumber. No large Cucumber project will be free of 'violations' as it were. That's also why thresholds were implemented, so that a team may do norming around a set of conventions and continue to follow them.
After reviewing the source the 'Date used' rule is an informational violation which is the lowest score. This is in place in the interest of expressiveness in a step definition or scenario. Using dates directly in a scenario would also mean that the test is extremely specific. However, edgecase testing could certainly play into that as a possibility. Rigid dates would mean that at some point the test is going to begin failing or passing with no longer accurate criteria.
Many of these rules seem completely arbitrary. Listing the reasons for them, a source, or some sort of description would help alleviate this feeling. For example, why is there a rule around using a Date?
The text was updated successfully, but these errors were encountered: