testing-strategies

Implement a 3-tier testing strategy for Kailash apps without mocks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/esperie/new-project --skill testing-strategies-esperie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: testing-strategies
Source: https://github.com/esperie/new-project/tree/main/.claude/skills/12-testing-strategies
Command: npx skills add https://github.com/esperie/new-project --skill testing-strategies-esperie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a clear framework for implementing a 3-tier testing strategy in Kailash applications, emphasizing realistic, non-mocked integration and end-to-end validation.

Core Features & Use Cases

  • NO MOCKING Policy: guidance for Tier 2-3 tests to run against real infrastructure (databases, APIs, and services).
  • 3-Tier Structure: covers Unit, Integration, and End-to-End testing patterns, with fixtures and CI/CD considerations.
  • Documentation & Templates: provides example test workflows, directory layouts, and reference materials for rapid adoption.

Quick Start

Review the skill to align your project with 3-tier testing principles. For example, enable Tier 2-3 real-infrastructure tests in your CI/CD and start by writing a Tier 1 unit test using in-memory mocks.

Frequently Asked Questions about testing-strategies

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

FAQPage Schema
How do I set up integration tests without mocking real databases and APIs?▼

To set up integration tests without mocking, you run tier 2 and tier 3 tests against real infrastructure using Docker-based test environments. This approach provides realistic validation by interacting directly with actual databases, APIs, and services instead of using mocks.

What is a 3-tier testing strategy?▼

A 3-tier testing strategy structures validation into unit, integration, and end-to-end testing patterns. It separates tests by scope, using in-memory mocks only for tier 1 unit tests while requiring real infrastructure for tiers 2 and 3.

Do I need Docker to run CI/CD integration tests for Kailash apps?▼

Yes, you need Docker to run CI/CD integration tests for Kailash apps. The strategy requires Docker-based test environments to provision real infrastructure for running non-mocked tier 2 and tier 3 tests in your pipeline.

How do I organize test fixtures for end-to-end testing patterns?▼

You organize test fixtures for end-to-end testing patterns by following documented directory layouts and example test workflows. The strategy provides reference templates to structure your fixtures and test organization for rapid adoption.

When should I avoid mocking in my testing strategy?▼

You should avoid mocking in your testing strategy for tier 2 integration and tier 3 end-to-end tests. The framework enforces a NO MOCKING policy across these tiers to ensure tests validate against real databases, APIs, and services.