integration-test-scaffold

Generate a full-stack integration test scaffold for Swift modules with mock servers and in-memory stores.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill integration-test-scaffold-jtvaris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-test-scaffold
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/testing/integration-test-scaffold
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill integration-test-scaffold-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a complete cross-module test harness for Swift projects to validate networking, persistence, and business logic together without hitting real servers or databases.

Core Features & Use Cases

  • Automatic scaffolding for mock servers, in-memory data stores, and test configuration.
  • Phase-driven workflow: identify integration boundaries, configure mock strategy, generate mock server, in-memory store, and test environment, and assemble full-stack integration tests (API → Repository → ViewModel).
  • Supports end-to-end testing across layers with deterministic behavior, offline scenarios, and safeguards against common wiring issues.

Quick Start

Run integration-test-scaffold to generate a full integration test scaffold for your networking, persistence, and business logic layers.

Frequently Asked Questions about integration-test-scaffold

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

FAQPage Schema
How do I generate an integration test scaffold for Swift modules without hitting real network endpoints?

An integration test scaffold generates a mock URLProtocol server and an in-memory SwiftData container to test networking, persistence, and business logic together deterministically without real network calls.

How do I test Swift networking and persistence layers together end-to-end?

Testing Swift networking and persistence together uses a full-stack integration test suite spanning API, Repository, and ViewModel layers with phase-driven configuration, mock servers, and in-memory stores for deterministic behavior.

Can I use an in-memory SwiftData container for offline integration testing?

Yes, an in-memory SwiftData container enables offline integration testing to validate persistence and business logic safely without requiring real database connections or live network access.

What is the best way to configure mock servers for Swift integration tests?

Configuring mock servers for Swift integration tests uses a phase-driven workflow to identify integration boundaries, configure mock strategy, and assemble reusable test components within a dedicated test dependency container.

Why do my Swift integration tests fail due to common wiring issues between layers?

Swift integration tests fail from layer wiring issues, which a generated test dependency container and ready-to-run test suite resolve by providing phase-driven configuration and safeguards against common wiring mistakes.