test-strategy

Automate TDD strategy creation for Agentic systems with mock LLM clients and golden datasets.

18|4|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-oh-my-aidlcops --skill test-strategy-aws-samples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-strategy
Source: https://github.com/aws-samples/sample-oh-my-aidlcops/tree/main/plugins/aidlc/skills/construction/test-strategy
Command: npx skills add https://github.com/aws-samples/sample-oh-my-aidlcops --skill test-strategy-aws-samples

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, pytest-anyio, hypothesis, vcrpy, anthropic, openai, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of creating a Test-Driven Development (TDD) strategy for Agentic systems, automating the process of setting up tests with mock LLM clients and golden dataset evaluations.

Core Features & Use Cases

  • Mock LLM Clients: Utilizes mock LLM clients to simulate LLM interactions without real API calls.
  • Golden Dataset Evaluations: Automates evaluations based on golden datasets, ensuring consistent quality.
  • Property-Based Testing: Implements property-based testing to control non-determinism.
  • Use Case: Ideal for software development teams looking to streamline the TDD process for Agentic systems, reducing manual effort and improving test coverage.

Quick Start

Execute the test-strategy skill with the component name as an argument, e.g., test-strategy component-name.

Frequently Asked Questions about test-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Agentic systems without making real LLM API calls?

You can test Agentic systems without real LLM API calls by using mock LLM clients to simulate interactions. This Skill automates setting up these mock clients to streamline your TDD workflow and eliminate API costs during testing.

How does property-based testing control non-determinism in LLM testing?

Property-based testing controls non-determinism in LLM testing by defining invariant properties that outputs must satisfy across generated inputs. This Skill implements property-based testing using the hypothesis framework to validate Agentic system behavior.

What is the best way to automate golden dataset evaluations for TDD?

The best way to automate golden dataset evaluations for TDD is to compare system outputs against predefined expected results. This Skill automates these evaluations to ensure consistent quality and verify Agentic system performance without manual intervention.

Does this TDD strategy work with pytest and hypothesis for Agentic systems?

Yes, this TDD strategy works with pytest and hypothesis for Agentic systems. It also integrates with pytest-anyio for asynchronous testing and vcrpy for recording HTTP interactions, providing a comprehensive automated testing environment.

Can I use mock LLM clients to test Agentic systems built with Anthropic and OpenAI?

Yes, you can use mock LLM clients to test Agentic systems built with Anthropic and OpenAI. The Skill dependencies include the anthropic and openai libraries, allowing you to simulate interactions for both platforms during test-driven development.

When do I need property-based testing for Agentic systems?

You need property-based testing for Agentic systems when dealing with non-deterministic outputs that require robust validation. This Skill implements property-based testing to control non-determinism and ensure your system maintains expected behavior across varied inputs.