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
We should be using the rspec setting config.order = :random
Level of urgency
High
Moderate
Low
Why is this maintenance needed?
Running tests in random order is a best practice we should be following. It ensures that there are no order-dependent tests in our suite. Currently, we must have some order-dependent tests because if I try to turn on the random option in rspec several tests fail.
Acceptance criteria
Uncomment config.order = :random in the spec/spec_helper.rb file
Ensure all tests pass when run in random order
The text was updated successfully, but these errors were encountered:
What maintenance needs to be done?
We should be using the rspec setting
config.order = :random
Level of urgency
Why is this maintenance needed?
Running tests in random order is a best practice we should be following. It ensures that there are no order-dependent tests in our suite. Currently, we must have some order-dependent tests because if I try to turn on the
random
option in rspec several tests fail.Acceptance criteria
config.order = :random
in thespec/spec_helper.rb
fileThe text was updated successfully, but these errors were encountered: