modernize-tests
CommunityUpgrade XCTest to Swift Testing fast
Authorjitrapon
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams modernize existing Swift test suites by converting older XCTest patterns into clearer, more maintainable Swift Testing code without losing behavior.
Core Features & Use Cases
- XCTest to Swift Testing migration: Replace XCTestCase-based suites, assertions, skips, expectations, and attachments with modern Swift Testing equivalents.
- Incremental test modernization: Update one test class or file at a time, supporting mixed XCTest and Swift Testing code during transition.
- Behavior-preserving refactors: Handle setup and teardown, async flows, known failures, and shared state while keeping test intent intact.
- Use case: A Swift iOS app with a large legacy XCTest suite can be converted file by file into Swift Testing with better structure and readability.
Quick Start
Ask me to modernize the existing XCTest tests in a Swift file to Swift Testing and I will rewrite them using the appropriate modern patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: modernize-tests Download link: https://github.com/jitrapon/astro-mobile/archive/main.zip#modernize-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.