fosmvvm-viewmodel-test-generator
Installation
SKILL.md
FOSMVVM ViewModel Test Generator
Generate test files for ViewModels following FOSMVVM testing patterns.
Conceptual Foundation
For full architecture context, see FOSMVVMArchitecture.md | OpenClaw reference
ViewModel testing in FOSMVVM verifies three critical aspects:
- Codable round-trip - ViewModel encodes and decodes without data loss
- Versioning stability - Structure hasn't changed unexpectedly
- Multi-locale translations - All
@LocalizedStringproperties have values in all supported locales
The LocalizableTestCase protocol provides infrastructure that tests all three in a single call.