integration-test-scaffold
This skill generates foundational test infrastructure for multi-module integration scenarios, helping you establish consistent testing patterns across your codebase. It automates the setup of test scaffolding, reducing boilerplate and enabling faster integration test development.
integration-test-scaffold generates foundational test infrastructure for multi-module integration scenarios, automating setup of test scaffolding to reduce boilerplate. It helps you establish consistent testing patterns across your codebase and enables faster integration test development by providing reusable components for mocking, in-memory storage, and end-to-end verification.
AI-generated summary based on this skill's SKILL.md
Install
rshankras/claude-code-apple-skills/integration-test-scaffold · repository language: Swift
git clone https://github.com/rshankras/claude-code-apple-skills
cp -r claude-code-apple-skills/skills/testing/integration-test-scaffold ~/.claude/skills/integration-test-scaffoldFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does integration-test-scaffold help me build?
integration-test-scaffold generates foundational test infrastructure for multi-module integration scenarios, automating setup of test scaffolding to reduce boilerplate. It helps you establish consistent testing patterns across your codebase and enables faster integration test development by providing reusable components for mocking, in-memory storage, and end-to-end verification.
Can integration-test-scaffold create mock servers for testing?
Yes. integration-test-scaffold generates mock servers and in-memory stores specifically designed for testing. These components let you test data flow across API, persistence, and UI layers without relying on external dependencies or real network calls, making your tests faster and more reliable.
How does integration-test-scaffold support end-to-end testing without real servers?
integration-test-scaffold builds complete end-to-end test suites by combining mock URLSession implementations, in-memory database stores, and request/response verification. This allows you to test full stack behavior—from API calls through persistence to UI updates—entirely within your test environment without external dependencies.
What integration test setup does swift need with this scaffold?
integration-test-scaffold provides the boilerplate for multi-module integration testing in Swift, including mock server setup, URLProtocol mocking, and SwiftData in-memory configurations. It handles request formation verification and error handling across your repository, viewmodel, and API layers so you can focus on test logic rather than infrastructure.
How can I test data flow across API, persistence, and UI layers?
integration-test-scaffold generates test harness components that verify data flow across all three layers. It provides mock API responses, in-memory persistence, and integration points that let you trace requests from the UI through your repository and API layers, confirming correct behavior at each stage without external services.
Is integration-test-scaffold open source?
Yes. integration-test-scaffold is released under the MIT license, making it free to use, modify, and distribute in both open-source and commercial projects.
SKILL.md
rendered from the published skill — quoted content, verbatim
Integration Test Scaffold
Generate test infrastructure for testing multiple modules working together — networking + persistence + business logic — without hitting real servers or databases.
When This Skill Activates
Use this skill when the user: - Wants to "test the full stack" or "integration test" - Needs a mock server or mock API - Wants to test networking + caching together - Asks about "end-to-end tests without real servers" - Needs to test data flow across layers (API → Repository → ViewModel) - Mentions "test harness" or "test environment"
Why Integration Tests
``` Unit tests: Test ONE thing in isolation (fast, focused) Integration tests: Test MULTIPLE things together (realistic, catches wiring bugs)
Unit test passes: PriceCalculator works alone ✅ Integration test: PriceCalculator + API + Cache work together ✅
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
skills/testing/integration-test-scaffold/SKILL.md