Datacontract Test

Run the Data Contract CLI (`datacontract test`) against ODCS contracts in the project to verify the live data still conforms — schema, quality rules, and freshness. Handles two kinds of contracts with different semantics: output-port contracts under `models/output_ports/**/*.odcs.yaml` (tested against this project's warehouse — "am I still producing what I promised?") and input-port contracts under `models/input_ports/*.odcs.yaml` (tested against the upstream warehouse — "is upstream still producing what I trusted?"). Trigger when the user asks to "test the data contracts", "verify the data product matches its contract", "are we still contract-conformant", "check upstream drift", or "run the contract tests".

thedixitjain 6053415 16.3 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/testing-and-qa/datacontract-test commit 6053415471

Frequently asked questions

npx skillmds add thedixitjain/datacontract-test