As noted in this pull request (#68), we want to give the user the ability to control the formatting of the output.
The formatting should be easy to configure for a given test and also easy to set globally for the entire test suite.
Here are the main concepts we want to model:
The formatting should let the user configure color, underline, and bold.
These settings should be globally applicable to all the interfaces in the project including schema comparisons, DataFrame comparisons, StructField comparisons, and column comparisons.
Something like this could work:
{
"mismatched_rows": ["red", "bold"],
"matched_rows": "blue",
"mismatched_cells": ["white", "underline"],
"print_dif": True,
"print_mismatched_cols": True
}
The user should be able to set this globally and then override for a given test (they should be able to partially override).
The user should also be able to ignore this entirely and just rely on the built-in defaults.
Hopefully we can make the outputs look good on both Mac and Windows machines.
As noted in this pull request (#68), we want to give the user the ability to control the formatting of the output.
The formatting should be easy to configure for a given test and also easy to set globally for the entire test suite.
Here are the main concepts we want to model:
The formatting should let the user configure color, underline, and bold.
These settings should be globally applicable to all the interfaces in the project including schema comparisons, DataFrame comparisons, StructField comparisons, and column comparisons.
Something like this could work:
The user should be able to set this globally and then override for a given test (they should be able to partially override).
The user should also be able to ignore this entirely and just rely on the built-in defaults.
Hopefully we can make the outputs look good on both Mac and Windows machines.