Database State QA Oracle

•
34
•

Verifies database side effects by performing structural diffs on database snapshots taken before and after system actions.

This skill provides a robust mechanism for behavioral verification of database state changes during the development and testing cycle. It automates the process of capturing pre-action snapshots, executing system commands via primary interfaces like HTTP or CLI, and comparing the post-action state. By normalizing volatile fields such as timestamps and auto-incrementing IDs, the skill identifies precise data modifications, ensuring that migrations and application logic produce the exact database side effects required by your specifications while handling asynchronous quiescence for background jobs.

주요 기능

01Automated pre- and post-action database snapshotting for deterministic state comparison.
02Deterministic reporting with row count tracking and targeted table isolation to minimize noise.
0334 GitHub stars
04Engine-specific support for SQLite, PostgreSQL, MySQL, and Ruby on Rails (ActiveRecord).
05Asynchronous quiescence handling to ensure background jobs and callbacks are settled before verification.
06Structural JSON diffing with intelligent field normalization to ignore volatile data like IDs and timestamps.

사용 사례

01Verifying that a database migration or schema change adds exactly the intended indices or columns.
02Validating that a REST API call correctly persists or updates specific database rows.
03Asserting that complex background jobs or after_commit hooks correctly update audit logs and counter caches.