integration-testing

Run end-to-end integration tests against a real database and application.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sugar-cat7/ai-avatar-interview --skill integration-testing-sugar-cat7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-testing
Source: https://github.com/sugar-cat7/ai-avatar-interview/tree/main/.agent/skills/integration-testing
Command: npx skills add https://github.com/sugar-cat7/ai-avatar-interview --skill integration-testing-sugar-cat7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables end-to-end integration testing by wiring a real database and a real application, avoiding internal mocks, and validating interactions across components at the system boundaries.

Core Features & Use Cases

  • Real-DB integration: tests run against a live database to validate data flows and constraints.
  • End-to-end wiring: connects the application and database to uncover integration issues in live configurations.
  • Minimal boundary mocks: mocks are applied only to external boundaries to focus on core integration paths.

Quick Start

Run end-to-end integration tests against the real database and application with minimal mocks to validate live interactions.

Frequently Asked Questions about integration-testing

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

FAQPage Schema
How do I run end-to-end integration tests against a real database?

Run end-to-end integration tests by wiring a live database directly to the real application. This validates data flows, schema constraints, and external interfaces across integrated components using production-like code paths without internal mocking.

When should I use real database integration testing instead of mocks?

Use real database integration testing when you need to validate data flows and schemas across integrated system components. Mocks should be minimal, applied only to external boundaries, so tests focus on uncovering live configuration and data constraint issues internally.

What is the best way to validate data flows across integrated components?

The best way to validate data flows is end-to-end integration testing with a real database and real application. This approach connects live configurations to uncover integration issues and ensures external interfaces are exercised across the actual system boundaries.

Do I need a live database to test production-like code paths?

Yes, a live database is required for production-like integration testing. Access to a real database allows tests to execute actual code paths and validate data constraints, utilizing minimal boundary mocks only for external interfaces rather than internal dependencies.

Can I use boundary mocks for external interfaces while testing internal data flows?

Yes, boundary mocks are applied exclusively to external interfaces during integration testing. This minimal mocking strategy ensures tests validate core internal data flows and schema constraints against the real database without isolating internal integrated components.

Why does integration testing fail to catch schema constraints with internal mocks?

Integration testing with internal mocks fails to catch schema constraints because it bypasses the real database. Wiring a live database and real application is required to validate data flows, constraints, and true production-like configurations across system components.