crm-ios-viewmodel-test
OfficialEffortless ViewModel tests with proven patterns.
Authorherren-official
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ViewModel testing is often verbose and brittle, making it hard to validate data transformation and UI state across UseCases. This skill provides a structured approach to writing tests using Input/Output Transform pattern or Direct Method pattern to ensure UI logic behaves correctly.
Core Features & Use Cases
- Support for Input/Output Transform pattern tests to validate observable outputs given inputs.
- Support for Direct Method pattern tests for straightforward command-driven UI behavior.
- Guides and exemplars showing test structure, mocking strategies, and integration with mocks and repositories.
Quick Start
Create a new ViewModel test, wire it to the ViewModel under test, and run the tests to verify inputs and outputs.
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: crm-ios-viewmodel-test Download link: https://github.com/herren-official/product-agents/archive/main.zip#crm-ios-viewmodel-test 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 471,000+ vetted skills library on demand.