-
Notifications
You must be signed in to change notification settings - Fork 5
Testing and Reproducibility
ravikiranpagidi edited this page Jun 17, 2026
·
1 revision
pytestruff check .
black --check .
python -m build
python -m twine check dist/*A seed makes output deterministic:
data1 = generate_domain("banking", seed=42, realism="realistic")
data2 = generate_domain("banking", seed=42, realism="realistic")
assert data1["customers"].equals(data2["customers"])Tests should confirm child keys exist in parent tables:
assert data["orders"]["customer_id"].isin(data["customers"]["customer_id"]).all()Tests should confirm realistic mode does not only return placeholder values:
assert data["customers"]["customer_name"].str.contains(" ").any()
assert data["customers"]["email"].str.contains("@").all()Export tests should verify that expected folders/files are written for CSV, JSON, Parquet, and Delta when dependencies are available.
- Home
- Problem Statement
- Quick Start
- Generate Related Tables
- Query-Aware Generation
- Supported Schema Inputs
- Function Comparison
- Getting Started
- Plain Dictionary
- Rich Dictionary
- Pandas
- PySpark StructType
- Contracts and SQL DDL
- Schema Generation
- JSON Schema
- YAML Schema Profile