Check records against a spec
Define what a conforming record looks like, then check a batch against it. Every failure names the rule, the expectation and the actual value — and a record reports all its problems, not just the first one it hits.
Define what a conforming record looks like, then check a batch against it. Every failure names the rule, the expectation and the actual value — and a record reports all its problems, not just the first one it hits.