[Feature Request] Allow defining the step between values on increasing/decreasing tests
vitorbaptista opened this issue · 0 comments
vitorbaptista commented
Is your feature request related to a problem? Please describe.
I have a column that must be strictly increasing, but the values need to have a difference of exactly 1 between them. So values like 1, 2, 3 are valid, but 1, 3, 4 are not.
Describe the solution you'd like
It would be great if expect_column_values_to_be_increasing
accepted an optional step
parameter. If this is set, then it requires increasing values with this specific step. Otherwise, the test continue working as now.
Describe alternatives you've considered
I couldn't find a test that would work like this.
Additional context
How would this step
work with non-numeric columns?