ios-viewmodel-test-generator
OfficialGenerate iOS ViewModel tests
Author3dollar-in-my-pocket
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of XCTest test cases for iOS ViewModels, significantly reducing the manual effort required for writing unit tests and ensuring comprehensive test coverage.
Core Features & Use Cases
- Automated Test Generation: Creates Given-When-Then style test cases for ViewModels based on user flows.
- XCTest & Combine Integration: Leverages standard iOS testing frameworks and Combine for reactive programming.
- Mocking: Includes patterns for creating mock repositories to isolate ViewModel logic.
- Use Case: Quickly generate tests for a new ViewModel, ensuring its inputs correctly map to outputs and that navigation logic functions as expected, all following established patterns.
Quick Start
Use the ios-viewmodel-test-generator skill to create a test file for the UserProfileViewModel.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: ios-viewmodel-test-generator Download link: https://github.com/3dollar-in-my-pocket/3dollars-in-my-pocket-ios/archive/main.zip#ios-viewmodel-test-generator 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 223,000+ vetted skills library on demand.