Test integration

From duranserkan/DRN-Project · View interactive version

Test integration is an AI agent skill from the GitHub repository duranserkan/DRN-Project. Use when choosing or reviewing integration tests for API pipelines, database behavior, external dependencies, containers, serialization, middleware, or end-to-end component boundaries.

How to use this skill

Skill file

Integration Testing

Portable integration-test router. Load repository-profile testing rules and scoped framework testing skills first when present.

Choose the Narrowest Honest Integration

| Need | Use | Skill |

|---|---|---|

| Controllers, endpoints, auth, middleware, serialization, route bindings | API or web-application factory test | test-integration-api |

| Repositories, ORM mapping, SQL, interceptors, transactions, concurrency | Database-backed component test | test-integration-db |

| Outbound HTTP behavior | HTTP client test double at transport boundary | test-integration-api |

| Message bus, queue, cache, object storage | Real container or approved local emulator | Repository-specific skill |

Use parameterized tests when the setup and assertions are genuinely the same across rows. Request heavyweight fixtures or containers only when the test needs them.

Setup Rules

Composed Decisions

Apply MC/DC fixture rules to composed authorization, tenant isolation, soft-delete, filtering, validation, and feature-gate decisions. Validate fixture truth tables before invoking the boundary. Assert the exact result and cover distinct integration interactions.

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.