testing-strategies

Plan and implement tiered testing strategies for Kailash applications using Docker-based environments.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/shobhit-16/Disease-Risk-classifier --skill testing-strategies-shobhit-16
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-strategies
Source: https://github.com/shobhit-16/Disease-Risk-classifier/tree/main/.claude/skills/12-testing-strategies
Command: npx skills add https://github.com/shobhit-16/Disease-Risk-classifier --skill testing-strategies-shobhit-16

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kailash testing teams often struggle with fragmented or inconsistent testing approaches, leading to flaky deployments and missed edge cases.

Core Features & Use Cases

  • 3-Tier Testing Strategy (Unit, Integration, End-to-End)
  • Real infrastructure recommended policy for tiers 2-3
  • Test organization, fixtures, and runtime parity testing across LocalRuntime and AsyncLocalRuntime
  • Docker-based test environments and fixture patterns to ensure reproducible tests
  • Guidance for avoiding mocks in Tier 2-3 and for reliable end-to-end testing

Quick Start

Create a tiered testing plan that uses real infrastructure (Tier 2-3) and Docker-based test environments to validate Kailash workflows.

Frequently Asked Questions about testing-strategies

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

FAQPage Schema
How do I structure a testing strategy for Kailash applications across unit, integration, and e2e tiers?

A robust Kailash testing strategy organizes tests into three tiers: unit, integration, and end-to-end. It uses real infrastructure for tiers 2-3 and Docker-based environments with proper fixtures to validate workflows across databases, APIs, and LLMs.

Why should I avoid mocks in integration and end-to-end testing?

Avoiding mocks in integration and end-to-end testing ensures you validate real infrastructure behavior across databases, APIs, and LLMs. The testing strategy recommends using Docker-based test environments to provide reproducible real infrastructure parity for tiers 2 and 3.

How do I set up Docker-based test environments for reproducible integration tests?

Docker-based test environments provide runtime parity for integration and e2e tests. The testing strategy defines fixture patterns and Docker configurations that ensure reproducible tests across LocalRuntime and AsyncLocalRuntime without relying on mocked external services.

What's the best way to test Kailash workflows that interact with databases and LLMs?

The best way to test Kailash workflows with databases and LLMs is applying a 3-tier testing strategy. Tiers 2 and 3 use real infrastructure via Docker-based test environments with established fixtures, ensuring reliable end-to-end validation across all connected services.

Can I use AsyncLocalRuntime when running end-to-end tests for Kailash applications?

Yes, the testing strategy supports runtime parity testing across both LocalRuntime and AsyncLocalRuntime. It provides fixture patterns and Docker-based test environments that ensure reproducible test execution for Kailash workflows regardless of the runtime used.

When do I need real infrastructure testing instead of mocked unit tests?

Real infrastructure testing is required for integration and end-to-end tiers (2 and 3) when validating Kailash workflows across databases, APIs, and LLMs. Unit tests in tier 1 can use mocks, but tiers 2-3 must avoid mocks to catch edge cases and prevent flaky deployments.