datacontract test --tag nonexistent-tag datacontract.yaml # also: --dimension timeliness, --checks slaProperties
Actual: empty results table, 馃敶 data contract is invalid, found the following errors: with no errors listed, exit 1. A contract without a schema block instead reports a warning check ("Schema block is missing. Skip executing tests.") and exits 0. With --metadata-only (#1470) every check is present but skipped, which again gives the empty red banner and exit 1.
Expected: one defined behavior for "nothing was tested", consistent across all of these.
Relevant file: datacontract/output/test_results_writer.py (write_test_result)
Actual: empty results table,
馃敶 data contract is invalid, found the following errors:with no errors listed, exit 1. A contract without a schema block instead reports awarningcheck ("Schema block is missing. Skip executing tests.") and exits 0. With--metadata-only(#1470) every check is present butskipped, which again gives the empty red banner and exit 1.Expected: one defined behavior for "nothing was tested", consistent across all of these.
Relevant file:
datacontract/output/test_results_writer.py(write_test_result)