feat(application): HealthMonitor service and hardware integration test

Add HealthMonitor service for tracking system health status with
comprehensive state transition logic and thread-safe operations.
Includes 16 unit tests covering all functionality including concurrent
access scenarios.

Add optional Modbus hardware integration tests with 7 test cases for
real device testing. Tests are marked as ignored and can be run with

Ref: T034, T039, T040 (specs/001-modbus-relay-control/tasks.org)
This commit is contained in:
2026-01-21 20:43:06 +01:00
parent 4636cb457a
commit 6d0a2bdb9e
9 changed files with 652 additions and 38 deletions

View File

@@ -31,7 +31,10 @@ release-run:
cargo run --release
test:
cargo test
cargo test --all --all-targets
test-hardware:
cargo test --all --all-targets -- --ignored
coverage:
mkdir -p coverage