Kevin L'Hereec and Continue
ef30c2159c
fix: isolate integration test databases to prevent parallel teardown conflicts
...
Each integration test file now uses its own MongoDB database:
- ttl_expiration → adam-acs-ttl-test
- device_model → adam-acs-devices-test
- base_model → adam-acs-basemodel-test
Prevents dropDatabase() in one afterAll from destroying data
used by another test file running concurrently.
Generated with [Continue](https://continue.dev )
Co-Authored-By: Continue <noreply@continue.dev >
2026-06-08 13:27:16 +00:00
Kevin L'Hereec
d9b3a1b810
fix: resolve flaky pagination integration test (isolated collection)
2026-06-02 18:10:35 +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
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
003ef50a8e
test: improve coverage — domain, protocol, references, integration DB tests
...
- Domain: DeviceId, Command, DeviceParameter, DeviceProperty, Mode
- Protocol: SOAP parsing, CWMPMessageBuilder (all methods)
- References: config_loader, WassupProvider (timeout, errors)
- Integration: MongoDB tests (CRUD, pagination, references)
- Fix: Home.vue IP lookup for Device.WANDevice path
- Total: 384 tests passing
2026-06-02 16:29:19 +02:00