Agentic TDD & Eval Strategy

•
22
•

Establishes a multi-layered TDD strategy for agentic systems using LLM mocks, golden datasets, and property-based testing.

This skill provides a standardized framework for testing non-deterministic agentic AI systems within the AWS AI-Driven Development Lifecycle. It automates the design of a four-tier testing architecture—Unit, Contract, Property, and Eval—to control non-determinism and manage LLM API costs. By integrating VCR-style mocking, Hypothesis-based property testing, and golden dataset evaluations, it ensures that AI agents are reliable, safe, and performant before they reach production. It outputs a comprehensive test-plan.md that maps user stories to specific acceptance criteria and defines clear rollback procedures for regression handling.

주요 기능

01Automated Golden Dataset schema generation (minimum 5 samples)
02Flexible LLM Mocking strategies (Stub, VCR Cassettes, Local Model Proxy)
03Multi-layered Test Architecture (Unit, Contract, Property, Eval)
04Property-based invariant testing using Hypothesis
05Regression-proof rollback planning for agentic workflows
0619 GitHub stars

사용 사례

01Managing and updating golden datasets for continuous quality measurement
02Adding regression tests and eval suites after production issues are observed
03Establishing a TDD foundation before implementing complex AI agents