TestGen Test Types¶
This reference covers the 47 test types available in TestGen, plus 12 Commercial Pharma tests included in TestGen Enterprise. 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, and when to use 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, value lists, and business rules. | 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, and domain 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¶
Most test types are auto-generated during test generation based on profiling results — the system selects tests whose profiling criteria match your data. Test types marked with on the detail pages indicate auto-generation support.
Some test types can only be created manually from the Test Definitions page — these are marked with . Manual test types include custom SQL tests, referential cross-table tests, and timeframe comparisons that require user-specified parameters.