test-generator

Generate Swift test templates for unit, integration, and UI tests.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/mazicimert/RunDom --skill test-generator-mazicimert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/mazicimert/RunDom/tree/main/.claude/skills/generators/test-generator
Command: npx skills add https://github.com/mazicimert/RunDom --skill test-generator-mazicimert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating ready-to-run Swift test templates for unit, integration, and UI tests to accelerate test setup in iOS and macOS projects.

Core Features & Use Cases

  • Scaffold unit, integration, and UI test templates for Swift projects using XCTest and Swift Testing.
  • Include mocks, sample data builders, and parameterized tests to promote testing best practices.
  • Use case: onboard a new app by producing a complete test skeleton with setup, teardown, and example tests.

Quick Start

Provide a project context and run the generator to produce the Swift test templates.

Frequently Asked Questions about test-generator

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

FAQPage Schema
How do I generate Swift test templates for unit, integration, and UI tests?

To generate Swift test templates, provide your project context to the generator and it produces ready-to-run test skeletons for unit, integration, and UI tests. Output includes setup, teardown, sample fixtures, and parameterized tests for Swift Testing or XCTest.

Can I use Swift Testing instead of XCTest for my iOS testing templates?

Yes, Swift Testing is supported alongside XCTest for generating iOS and macOS test templates. The generator produces ready-to-run templates with mocks and sample data builders that apply to projects using either Swift Testing (iOS 16+) or XCTest frameworks.

What's the best way to scaffold tests for ViewModel, Service, and Repository layers in Swift?

The best way to scaffold tests for ViewModel, Service, and Repository layers is using a template generator that applies mock patterns and parameterized tests. It produces complete test skeletons with sample fixtures, promoting best practices across all architectural layers.

Does the generated template include mocks and sample data builders for iOS testing?

Yes, generated Swift test templates include mocks, sample data builders, and parameterized tests. These components promote testing best practices by providing ready-to-run fixtures and mock patterns that accelerate test setup in iOS and macOS projects.

How do I onboard a new Swift app with a complete test skeleton?

To onboard a new Swift app with a complete test skeleton, provide project context to the generator. It produces a full template featuring setup, teardown, example tests, mocks, and sample data builders for immediate use across your testing layers.