Move filter_validation_dict_by_table_name to validation_input.py
Separated validation logic into a ValidationSettings dataclass (containing the user input) and a ValidationRunner class (containing the actual calls to GX)
Increased coverage of test_validation.py to 100% (Note: a number of functions/methods using GX logic only were exempted from coverage/testing. 😁 So take '100% coverage' here with a pinch of salt.
Increasing to an actual 100% coverage is still a TODO, and would require mocking large parts of the validation logic.
Modified tests/test_data/dq_rules.json
Turned some attributes into private ones, renamed some attributes/variables, and other minor changes.
df_checker.py
->validation.py
filter_validation_dict_by_table_name
tovalidation_input.py
ValidationSettings
dataclass (containing the user input) and aValidationRunner
class (containing the actual calls to GX)test_validation.py
to 100% (Note: a number of functions/methods using GX logic only were exempted from coverage/testing. 😁 So take '100% coverage' here with a pinch of salt.TODO
, and would require mocking large parts of the validation logic.tests/test_data/dq_rules.json