Kevin L'Hereec
|
75436ad2f4
|
style: formatting fixes (prettier compliance)
|
2026-06-02 18:03:19 +02:00 |
|
Kevin L'Hereec
|
7882a49d71
|
refactor: move dynamic imports to file headers
- getReferenceEngine import moved to top of cwmp_controller
- Fix makeContext type in configuration_evaluation_state tests
|
2026-06-02 17:58:07 +02:00 |
|
Kevin L'Hereec
|
31578e368f
|
feat: estimated next connection + fix build errors
- Store lastPeriodicInformAt on device when PERIODIC Inform received
- Display 'Prochaine connexion' in DeviceDetail identity card
- Fix tsconfig exclude (tests, inertia, coverage) for Docker build
- Fix TS errors in tests (CommandResult type, unused imports)
- Fix distinctCriteriaValues typing in controller
|
2026-06-02 17:56:17 +02:00 |
|
Kevin L'Hereec
|
5759809145
|
test: 80%+ line coverage achieved (512 tests)
- ComplianceUpdateState: provisioning code write, transition to executing-commands
- ConfigurationEvaluationState: full happy path with all phases
- Fix flaky integration tests (isolated collections)
- Coverage: 80.64% lines, 79.26% statements, 512 tests
|
2026-06-02 16:56:47 +02:00 |
|
Kevin L'Hereec
|
818c661f21
|
test: 508 tests, 79% line coverage - config eval happy path
- Full happy path test for ConfigurationEvaluationState
- Fix flaky integration tests
- Coverage stable at 79% lines
|
2026-06-02 16:54:04 +02:00 |
|
Kevin L'Hereec
|
575975e211
|
test: 507 tests, 79% line coverage — near 80% threshold
- Device domain: full coverage of organizeParameters, updateFromValues
- MainStateMachine: full lifecycle test, error handling, GPN failure
- Coverage: 52% → 79% lines (507 tests)
|
2026-06-02 16:49:43 +02:00 |
|
Kevin L'Hereec
|
12a1787151
|
test: 492 tests, 78% line coverage
- Device domain: updateFromValues, organizeParameters, identifier
- BaseModel: full CRUD mock tests
- DeviceModel: all methods mocked
- Other models: collectionName verification
- MainStateMachine: start, handleResponse, state transitions
- ConfigurationEvaluationState: init, GPN flow, GPN-unsupported skip
- MongodbProvider: getMongoDb guard
- device_utils: hash determinism
- vitest.config.ts: coverage scope (excludes HTTP layer)
- 492 tests passing, 78% line coverage
|
2026-06-02 16:45:19 +02:00 |
|
Kevin L'Hereec
|
ab21f11b30
|
test: CWMP task_queue, device_action_executor, reference_engine tests
- task_queue: task lifecycle, events, all SOAP builders, clear pending
- device_action_executor: all action methods, callbacks (GPV/GPN/SPV)
- reference_engine: resolveAll, resolveOne, trigger matching, numeric events
- Coverage: 52% → 67% statements, 428 tests passing
|
2026-06-02 16:35:08 +02:00 |
|