I have put up a Ruby gem, test_values
, with methods that return named values for use in testing.
So far:
-
StringValues
strings_in_length_range(range, base_string='x')
strings_not_in_length_range(range, base_string='x')
string_of_length(length, base_string='x')
misspelled(string)
numerics_in_range(range)
numerics_not_in_range(range)
-
NumericValues
numerics_in_range(range)
numerics_not_in_range(range)
See gem test_values on RubyGems.
Much more to come.
Top comments (0)