What problem does it solve?
Writing tests that verify Materialize features survive restarts and upgrades requires understanding a specific framework of Check classes, scenarios, and testdrive fragments. This Skill guides you through creating, modifying, and debugging platform checks correctly the first time.
Core Features & Use Cases
- Check Authoring: Provides the exact anatomy of a Check class with initialize, manipulate, and validate methods returning Testdrive fragments.
- Version Gating & Decorators: Explains how to disable checks, mark non-idempotent external interactions, and gate checks by Materialize version.
- CI Failure Debugging: Gives a step-by-step workflow to reproduce failing scenarios locally using mzcompose commands.
- Use Case: You added a new SQL feature and need to verify it survives cluster restarts. Use this Skill to write a Check class in misc/python/materialize/checks/all_checks/ and run it against the RestartEntireMz scenario.
Quick Start
Write a new platform check for my feature that creates a table, inserts data across restart phases, and validates the results survive an upgrade.