Open source data quality for OneLake

OneLake data quality for every lakehouse layer.

Bronze, silver, and gold: TestGen profiles and tests each layer. It reads your Lakehouse tables through the Fabric SQL analytics endpoint and generates thousands of tests. Read-only. Free and open source.

Start here

Install TestGen

Pick your platform. Free and open source.

$ Select a platform above to get started.
  • 55data profiling column characteristics
  • 32data hygiene detectors
  • 34test types auto-generated from the profile
  • 19business rule and custom SQL test types

Connect TestGen to OneLake

TestGen reads OneLake tables through the Fabric SQL analytics endpoint, which is read-only by design. Point one table group at each layer and you get a quality score per layer.

What gets tested
Lakehouse and Warehouse tables in OneLake. Raw files in Azure Blob Storage (CSV, Parquet, JSON) can be tested in place too.
Sign-in
Entra ID service principal or Managed Identity.
Access
Contributor (or higher) on the workspace. No item-level grants needed.
One score per layer
Bronze catches bad input, silver catches broken transforms, gold catches what your reports would show.

Ask your Fabric admin for three things

  1. An Entra ID service principal (or a Managed Identity) for TestGen. SQL logins don’t work on the Fabric SQL analytics endpoint.
  2. Contributor (or higher) on the Fabric workspace that holds your Lakehouse or Warehouse.
  3. The tenant setting Service principals can call Fabric public APIs (formerly “Service principals can use Fabric APIs”) turned on in the Fabric admin portal.

Workspace-level access is enough; no item-level permissions. Details in the access requirements.

OneLake data problems TestGen catches, layer by layer

Catch it in bronze and silver never copies it. Each card lists the TestGen checks that find it.

What TestGen does in OneLake

Everything below is in the open source release, and all of it works on OneLake. Enterprise adds team access, security, Commercial Pharma tests, and support.

From DataKitchen on OneLake and the medallion architecture

Why teams choose TestGen

  • You Don't Have Time to Write Tests. TestGen Does It Automatically.

    You're buried in customer requests. You have no time to write tests, let alone innovate. TestGen scans your data and generates the tests and anomaly detectors for you. No coding, no massive YAML configuration.

  • A lakehouse with no tests is three layers of guessing.

    TestGen profiles each layer, writes the tests, and monitors freshness, volume, and schema, so a bad file in bronze doesn’t reach gold unnoticed.

    See how TestGen works →
  • Runs inside OneLake

    Tests run as read-only SQL where the data sits. Nothing is copied out, and nothing is written back.

  • Apache 2.0, core engine free

    Every detector, every characteristic, and every test type but the 12 Commercial Pharma types. In the open source.

  • Self-hosted

    Your data never leaves your environment.

  • Bootstrapped since 2013

    Profitable, independent, and not pivoting next quarter.

Open Source with Reasonable Enterprise Pricing

Open source TestGen is free for one user, one project, and one database connection. Enterprise is a flat $100 per month per user and database connection, with unlimited tables and data volume. No per-table tax. A year of enterprise data quality costs roughly one data engineer's monthly salary.

See pricing
Enterprise, per user and database connection$100/mo
Open source: one user, one project, one connectionFree

TestGen versus the competition

Head-to-head comparisons with every major data quality and observability tool. Search for the one you are evaluating.

Trusted by data teams at
  • Bristol Myers Squibb
  • Eisai
  • Catholic Relief Services
  • Progeny Health
  • X4
  • KOA
  • CNH

Questions

How do I test each layer of a OneLake medallion architecture?

Point one TestGen table group at each layer (bronze, silver and gold). Each gets its own profiling, tests and quality score, so you can see which layer a problem entered at.

Can TestGen test raw files before they reach a table?

Yes. TestGen reads CSV, Parquet and JSON files in place from Azure Blob Storage, as well as Lakehouse tables through the SQL analytics endpoint.

How does TestGen sign in to OneLake?

With an Entra ID service principal or a Managed Identity that has Contributor (or higher) on the Fabric workspace. SQL logins are not supported on the SQL analytics endpoint.

Does TestGen change anything in my database?

No. TestGen runs read-only SELECT queries to profile data, run tests and collect monitor metrics. It never runs INSERT, UPDATE, DELETE, CREATE, ALTER or DROP, and it stores only computed results (statistics, scores and test outcomes) in its own application database.

What should I test in the bronze layer?

Whether the data arrived and whether it is shaped as expected: Table Freshness, Volume, Row Count, and type checks such as Character Column with Mostly Numeric Values. Fixing it here is cheapest, before silver and gold copy the problem.

What should I test in the gold layer?

Whether the numbers people see are right: Aggregate Balance against silver, Distribution Shift and Average Shift between loads, and Unique Values on business keys.

Is TestGen free?

The open source edition is free under Apache 2.0, for one user, one project and one connection, with every detector and test type except the Commercial Pharma tests. Enterprise is $100 per user per month plus $100 per database connection per month, with no per-table fees. See pricing.

The DataOps Way to Data Quality and Data Observability cover

Free book

Not ready to try it out now? Read the free book.

The DataOps Way to Data Quality and Data Observability covers why data quality keeps failing and what to do about it: culture, testing strategy, monitoring, and the seven deadly sins of AI-generated pipelines.

  • 620 pages
  • 63 chapters
  • Updated September 2026
  • By Chris Bergh, Chip Bloche, and Gil Benghiat