diff --git a/TEST_INFRA.md b/TEST_INFRA.md index b4d6eb1a..6605622e 100644 --- a/TEST_INFRA.md +++ b/TEST_INFRA.md @@ -33,6 +33,7 @@ The test suite utilizes **opaque-box JVM-based integration and E2E tests** that - **Test Runner**: - Main Test suite command: `nix develop --command ./gradlew test` - Style checking command: `nix develop --command ./gradlew ktlintCheck` + - Total test count: 123 across 7 test files (see TEST_READY.md for per-file breakdown). - **Test Case Format**: - JUnit 4 / JUnit Platform JVM tests implemented in Kotlin. - Mocking library: `Mockk` for mock objects, static mocks, and API endpoints. diff --git a/TEST_READY.md b/TEST_READY.md index e71c26a6..ad446c8c 100644 --- a/TEST_READY.md +++ b/TEST_READY.md @@ -5,19 +5,24 @@ This document provides a summary of test readiness, including test suite executi ## Execution and Expected Outcome - **Test Runner Command**: `nix develop --command ./gradlew test` - **Expected Outcome**: All tests pass successfully. -- **Total Test Count**: 28 tests +- **Total Test Count**: 123 tests --- ## Coverage Summary -| Test Tier | Description | Test Count | Features Covered | -|-----------|-------------|------------|------------------| -| **Tier 1** | Feature Coverage | 13 | Skills (5), Cron Jobs (7), Drawer (1) | -| **Tier 2** | Boundary & Corner Cases | 12 | HTTP errors (400, 404, 500), timeouts, empty lists, action failures | -| **Tier 3** | Cross-Feature Combinations | 2 | Drawer transition during active toggle, Auth token revocation | -| **Tier 4** | Real-World Application Scenarios | 1 | Full end-to-end user session journey flow | -| **Total** | | **28** | | +### Per-File Breakdown + +| Test File | Test Count | +|-----------|------------| +| E2eIntegrationTest.kt | 37 | +| ModelSerializationTest.kt | 30 | +| HermesApiServiceTest.kt | 19 | +| ConnectViewModelTest.kt | 14 | +| ChatViewModelTest.kt | 9 | +| AuthManagerTest.kt | 8 | +| EventParserTest.kt | 6 | +| **Total** | **123** | ---