How TestGen Complements Microsoft Purview for Enterprise Data Quality

DataKitchen's TestGen and Microsoft's Purview complement each other: Purview serves as the governance and catalog "source of truth," while TestGen is the deep, automated data-quality and testing engine that writes thousands of data quality tests in seconds.

Written by Gil Benghiat on January 20, 2026

Data QualityDataOpsData ObservabilityDataOps ObservabilityDataOps TestGenMicrosoftOpen Source
How TestGen Complements Microsoft Purview for Enterprise Data Quality

Key points

  • Purview and TestGen solve different halves of the same problem: Purview is the governance and catalog system of record, TestGen is the automated testing engine.
  • Purview provides lineage across databases, lakes, Fabric, and Power BI, plus business glossaries, sensitivity labels, access control, and domain ownership.
  • TestGen generates tests automatically from data profiles rather than requiring stewards to author rules one at a time, and supports multi-table relational checks plus a Pass, Patch, Purge, or Push Back workflow with record-level detail.
  • Both tools profile data and run checks; the difference is how rules come into existence. TestGen generates them from profiles, Purview requires manual configuration of each one.
  • Covering 20 tables and 1,000 columns at 2.5 tests per column means 2,526 tests. TestGen does it in two steps; at 30 minutes per hand-written test it would take a data engineer roughly 1,250 hours, about 7.2 months of uninterrupted work.

How does DataKitchen’s TestGen complement Microsoft’s Purview?

Organizations that deploy Microsoft Purview gain a powerful foundation for data governance, cataloging, and lineage across their Microsoft ecosystem. But once teams begin governing data assets, they quickly encounter the challenge of validating data quality at scale and in an automated way. That is where DataKitchen’s TestGen and Purview complement each other: Purview serves as the governance and catalog “source of truth,” while TestGen is the deep, automated data-quality and testing engine that operationalizes trust at scale.

What is TestGen?

TestGen automatically profiles datasets and generates comprehensive data tests based on the structure, distributions, patterns, and irregularities it discovers. It provides detailed issue listings with context that allow data teams to decide whether bad records should be passed, patched, purged, or returned to an upstream system. TestGen’s entire approach is designed to minimize manual configuration, allowing organizations to stand up meaningful data quality assurance in days rather than months.

What Does TestGen Do That Purview Does Not?

TestGen delivers specific capabilities that Purview does not provide. Most importantly, TestGen automatically generates tests from data profiles using AI- and heuristic-driven techniques, rather than requiring stewards or engineers to manually author rules. This makes TestGen compelling because it is comprehensive and automatic — requiring no configuration to get started. It also supports exploratory data-quality discovery across large estates, scanning many tables to surface anomalies, distribution shifts, odd patterns, and other hard-to-anticipate defects with no setup.

TestGen further supports multi-table and relational data quality through “fill in the blank” test specifications, which help teams express domain logic without manually coding SQL. It offers an opinionated Pass / Patch / Purge / Push Back workflow that not only identifies issues but helps teams decide what to do with them by providing record-level detail. Operationally, TestGen is pipeline-adjacent: it can integrate with CI/CD and orchestration tools, run wherever the data lives (multi-cloud, on-prem, non-Microsoft), and is open source and tool-agnostic, allowing it to work across heterogeneous data estates.

What Does Purview Do That TestGen Does Not?

Microsoft Purview brings governance capabilities that TestGen purposely does not address. It provides an enterprise data catalog and search experience that acts as the “system of record” for schemas, datasets, classifications, reports, and data products. It offers end-to-end lineage visualization for data flowing across databases, data lakes, workflows, Fabric, Power BI, and other services — giving governance and BI teams insight into where data originates and how it changes.

Purview also handles broad governance features, including business glossaries, classifications, sensitivity labels, access control, and domain ownership. Because it is tightly integrated with the Microsoft ecosystem (e.g., Azure, Fabric, Power BI, M365, SQL). Purview provides both a consistent user experience and an enforcement model in environments where Microsoft is already the dominant stack. These governance and discovery features make Purview invaluable to stewards, security teams, and leadership.

Where Do TestGen and Purview Overlap?

There are several functional areas where Purview and TestGen both provide capability, but with different approaches and trade-offs. Both can profile data to compute statistics at the dataset and column level, helping teams understand distributions, null patterns, distinct counts, and schema characteristics. Both can define and run data-quality checks such as null checks, value ranges, pattern validation, and referential consistency. The difference is that TestGen automatically generates thousands of checks based on data profiles, while Purview requires manual configuration of rules.

Both tools can produce quality outcomes, including passed and failed checks, and both can support governance conversations by making data quality visible to a wider audience. Each platform helps different stakeholders prioritize fixes: TestGen supports engineers and operators by showing exactly which records are bad, while Purview helps stewards and leaders understand which assets and domains present governance risk.

What is an ROI Example for TestGen?

To understand the operational impact of TestGen’s automatic test generation, consider an illustrative scenario from DataKitchen’s internal benchmarking: To cover 20 tables containing 1000 columns with an average of 2.5 tests per column, using TestGen, a junior operator can complete the tasks with two steps: profile and generate tests.

For a Data Engineer to accomplish this task manually, assume it takes 30 minutes to write each test and that the engineer has no meetings, breaks, or vacation. It would consume roughly 1,250 hours, or 156 working days, which translates to about 31 weeks or 7.2 months.

This simple illustration shows that automation in test generation does not merely reduce labor — it enables scale that would otherwise be operationally impossible.

Conclusion

For organizations already using Microsoft Purview, TestGen is a natural complement that fills the operational testing and anomaly-discovery gaps that governance alone cannot address. Together, they share a common interest in making data trustworthy and offer a clear division of responsibility: Purview for governance and stewardship, TestGen for automated quality.

As data estates continue to grow in size and complexity, combining TestGen’s automated testing with Purview’s governance and lineage gives data quality, data governance, and data engineering teams a practical path to improving data reliability at enterprise scale.


FAQ

What are the key points in this blog?

Purview and TestGen solve different halves of the same problem. Purview is the governance and catalog source of truth, providing lineage, glossaries, classifications, and access control across the Microsoft stack. TestGen is the automated testing engine that generates thousands of checks from data profiles. Used together, governance gets a quality signal it cannot produce on its own.

What does TestGen do that Microsoft Purview does not?

TestGen generates tests automatically from data profiles rather than requiring stewards to author rules one at a time. It supports exploratory discovery across large estates, multi-table and relational checks, and a Pass, Patch, Purge, or Push Back workflow with record-level detail. It also runs wherever the data lives, including on-premises and non-Microsoft platforms.

What does Purview do that TestGen does not?

Purview provides the enterprise catalog and search experience that acts as the system of record for schemas, datasets, classifications, reports, and data products. It delivers end-to-end lineage across databases, lakes, Fabric, and Power BI, plus business glossaries, sensitivity labels, access control, and domain ownership, tightly integrated with the Microsoft ecosystem.

Where do Purview and TestGen overlap?

Both profile data and both can run quality checks such as null checks, value ranges, pattern validation, and referential consistency. The difference is how the rules come into existence. TestGen generates them from profiles automatically; Purview requires manual configuration of each one. Both surface outcomes, but to different audiences: engineers and operators versus stewards and leadership.

What is the ROI of automated test generation?

In DataKitchen’s benchmarking, covering 20 tables and 1,000 columns at an average of 2.5 tests per column means 2,526 tests. With TestGen a junior operator completes that in two steps: profile, then generate. At 30 minutes per hand-written test it would take a data engineer roughly 1,250 hours, about 7.2 months of uninterrupted work.

Should you use Purview and TestGen together?

Yes, and the division of labor is clean. Purview owns governance, stewardship, cataloging, and lineage. TestGen owns automated quality testing and anomaly discovery, including on data that sits outside the Microsoft stack. Organizations already running Purview get the operational testing layer that governance alone cannot supply.

Install Open Source TestGen Free, no vendor lock-in Request a Demo See TestGen Enterprise in action
Gil Benghiat

Gil Benghiat

Co-founder and VP of Products & Implementation at DataKitchen. Helping data teams find data quality issues before their customers do.

LinkedIn →