This commit adds extensive unit test coverage for the entire application, including iOS ViewModels, design system, and shared Kotlin Multiplatform code. iOS Unit Tests (49 tests): - LoginViewModelTests: Authentication state and validation tests - ResidenceViewModelTests: Residence loading and state management - TaskViewModelTests: Task operations (cancel, archive, mark progress) - DocumentViewModelTests: Document/warranty CRUD operations - ContractorViewModelTests: Contractor management and favorites - DesignSystemTests: Color system, typography, spacing, radius, shadows Shared KMM Unit Tests (26 tests): - AuthViewModelTest: Login, register, verify email state initialization - TaskViewModelTest: Task state management verification - DocumentViewModelTest: Document state initialization tests - ResidenceViewModelTest: Residence state management tests - ContractorViewModelTest: Contractor state initialization tests Test Infrastructure: - Reorganized test files from iosAppUITests to MyCribTests - All shared KMM tests passing successfully (./gradlew test) - Tests focus on state initialization and core functionality - Ready for CI/CD integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
269 B
Swift
17 lines
269 B
Swift
//
|
|
// MyCribTests.swift
|
|
// MyCribTests
|
|
//
|
|
// Created by Trey Tartt on 11/12/25.
|
|
//
|
|
|
|
import Testing
|
|
|
|
struct MyCribTests {
|
|
|
|
@Test func example() async throws {
|
|
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
|
|
}
|
|
|
|
}
|