Pattern: Use of return
in test method
Issue: -
Enforces the use of skip
instead of return
in test methods.
# bad
def test_something
return if condition?
assert_equal(42, something)
end
# good
def test_something
skip if condition?
assert_equal(42, something)
end