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
As @JonRowe mentioned in #228, the general guideline is to have "one business rule expectation" per spec. Sometimes this isn't always possible with a single expect(...). It would be nice to support something like
I think there should be an option for MaxAggregatedExpectations as even with aggregate_failures 10 expectations might be too much.
Also an option may determine if RSpec/MultipleExpectation recommends using aggregate_failures when there is more then whatever the maximum expectations are set. With such recommendation, it is possible to implement an autocorrect as well.
As @JonRowe mentioned in #228, the general guideline is to have "one business rule expectation" per spec. Sometimes this isn't always possible with a single
expect(...)
. It would be nice to support something likebeing treated as one expectation
The text was updated successfully, but these errors were encountered: