test-generator

Generate Swift unit, integration, and UI test templates for iOS/macOS projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating boilerplate test templates for iOS/macOS apps can be time-consuming and error-prone; this skill automates the creation of unit, integration, and UI test templates using Swift Testing and XCTest.

Core Features & Use Cases

  • Generates templates for Unit, Integration, and UI tests aligned with Swift Testing and XCTest.
  • Includes mock objects, helpers, and screen objects to accelerate test development across MVVM, TCA, and Repository architectures.
  • Useful when starting new projects or expanding test coverage, enabling rapid, repeatable test scaffolding.

Quick Start

Ask the assistant to generate Swift test templates for your project, selecting the desired test types and architecture.

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 iOS and macOS projects?

Yes, Swift test templates support MVVM, TCA, and Repository architectures. The skill generates structured test scaffolding complete with required mock objects, helpers, and screen objects tailored to these specific architectural patterns.

Does the test scaffolding work with both Swift Testing and XCTest?

Yes, test scaffolding works with both Swift Testing and XCTest frameworks. The skill detects existing test targets and frameworks in your iOS or macOS project to output compatible, ready-to-use templates for either framework.

Can I generate mocks and screen objects alongside unit tests?

Yes, you can generate mocks and screen objects alongside unit tests. The skill includes mock objects, helpers, and screen objects within its comprehensive test templates to accelerate test development across various architectures.

What's the best way to add UI tests to an existing Xcode project?

Limitations involve the need for existing test targets and framework detection within your Xcode project. The skill outputs ready-to-use templates but requires you to specify your desired test types and architecture to ensure proper scaffolding.