aibdd.auto.csharp.it.handlers.aggregate-then

Official

Assert aggregate final state directly from DB.

Authorzenbuapps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

在 Gherkin 測試中驗證 Aggregate 的最終狀態,需準確對資料庫的持久化結果進行驗證。本規範提供使用 EF Core DbContext 查詢與比對持久狀態的實作指引。

Core Features & Use Cases

  • 透過 EF Core DbContext 與複合主鍵查詢,驗證資料庫的持久化結果是否符合 Gherkin 描述。
  • 提供 ChangeTracker.Clear() 以避免快取影響驗證,並與 ReadModel-Then 進行區別。
  • 支援中文狀態映射到 C# enum,確保狀態欄位一致性。

Quick Start

Inject AppDbContext, clear the ChangeTracker, and query the database to verify the aggregate's final state.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aibdd.auto.csharp.it.handlers.aggregate-then
Download link: https://github.com/zenbuapps/zenbu-powers/archive/main.zip#aibdd-auto-csharp-it-handlers-aggregate-then

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.