dab: comprehensive tests — round-trip, validation, drift, extensibility #179

Closed
opened 2026-03-24 05:50:04 +00:00 by kert · 0 comments
Owner

Goal

Test that the generator produces valid, complete, and deterministic output.

Test plan

  • Round-trip: generate → parse → re-generate → assert identical
  • Completeness: every pipeline in registry appears as a task
  • Dependencies: topological sort matches upstream declarations
  • Drift: modify a pipeline upstream, regenerate, verify depends_on changes
  • Idempotency: running gen_config.py twice produces identical output
  • Target isolation: dev/staging/prod targets have correct catalog values

Acceptance

  • All tests pass
  • Coverage includes all generator code paths
## Goal Test that the generator produces valid, complete, and deterministic output. ## Test plan - Round-trip: generate → parse → re-generate → assert identical - Completeness: every pipeline in registry appears as a task - Dependencies: topological sort matches upstream declarations - Drift: modify a pipeline upstream, regenerate, verify depends_on changes - Idempotency: running gen_config.py twice produces identical output - Target isolation: dev/staging/prod targets have correct catalog values ## Acceptance - [ ] All tests pass - [ ] Coverage includes all generator code paths
kert added this to the P22: DAB Generator — pluggable databricks.yml from pipeline registry milestone 2026-03-24 05:50:04 +00:00
kert added the qualitypipeline labels 2026-03-24 05:50:04 +00:00
kert closed this issue 2026-03-24 05:59:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#179