TestGen Test Types¶
This reference covers the 83 test types available in TestGen, plus 12 Commercial Pharma tests included in TestGen Enterprise and the Schema Conformance test that contracts create. Each test type targets a specific data quality concern — from missing values and format violations to statistical shifts and cross-table inconsistencies. Use this page to find the right category of tests for your needs, then follow the links for details on each test type including what it measures, how it works, when to use it, and, where it helps, how to tune it.
Data quality dimensions¶
Test types are organized by data quality dimension:
| Data quality dimension | Description | More information |
|---|---|---|
| Accuracy | Evaluate whether values faithfully represent real-world quantities by comparing against baselines, references, and expected distributions. | Accuracy Tests |
| Completeness | Verify that all required records and values are present — no missing rows, null values, or temporal gaps. | Completeness Tests |
| Consistency | Ensure that data remains stable and aligned with established baselines, reference tables, and earlier time periods. | Consistency Tests |
| Timeliness | Confirm that data arrives on schedule and reflects expected time ranges. | Timeliness Tests |
| Uniqueness | Ensure that data values and rows are not inappropriately duplicated. | Uniqueness Tests |
| Validity | Verify that values conform to expected formats, ranges, value lists, and business rules. | Validity Tests |
Industry test types¶
Some test types apply to a specific industry rather than to the data quality concerns every dataset shares. They are grouped by industry instead of by dimension, and each industry has its own generation set so you choose whether its test types are generated for a test suite.
| Industry | Test types | More information |
|---|---|---|
| Commercial Pharma Enterprise | 12 Validity tests for the identifiers used in pharmaceutical claims, prescribing, and clinical trial data — NPI, DEA, NDC, ICD diagnosis and procedure codes, HCPCS J-code, CMS place of service, and NCT. | Commercial Pharma Tests |
Auto-generated vs. manual tests¶
Any test type can be added manually from the Test Definitions page, with all of its parameters set directly, including baseline values, thresholds, and tolerances.
Test generation also adds tests automatically and fills the same parameters from profiling results. Test types marked with on the detail pages are generated when their profiling criteria match your data. Test types marked with are never generated. These include custom SQL tests, referential cross-table tests, and timeframe comparisons. To check a business rule that no built-in test type covers, see Custom Tests.