ARIEC60870 is an evidence-oriented protocol tool, so the test strategy prioritizes deterministic protocol behavior, report stability, and public repository guardrails.
tests/ARIEC60870.Protocol.Tests is a dependency-free console test runner. It validates sanitized FT1.2 and IEC-101/104 vectors without relying on a unit-test framework. This keeps a simple fallback that can be used during field debugging or restricted environments.
The xUnit projects provide first-class CI evidence:
ARIEC60870.Core.Testschecks the FT1.2 parser, IEC-103 ASDU decoder, trace extraction, and analyzer findings.ARIEC60870.Master.Testschecks IEC-101/104 ASDU construction/decoding, IEC-104 APDU parsing, command summaries, report-safe settings snapshots, and AutoTest assessment policy.ARIEC60870.Reporting.Testschecks Markdown report sections, privacy sanitization, table escaping, diagnostic appendix output, and event row limiting.ARIEC60870.Desktop.Testschecks the.arieccapture row contract without starting the WPF UI.ARIEC60870.Repository.Testschecks public repository hygiene, CI posture, documentation links, release workflow posture, and Phase B architecture guardrails.
docs/VALIDATION_MATRIX.md records simulator, package, and relay validation status. Automated tests prove deterministic behavior; the validation matrix records package and device-level evidence that cannot be fully simulated inside CI.
The CI workflow publishes:
- protocol smoke-test log;
.trxtest result files for every xUnit suite;- XPlat Code Coverage collector output;
- a single downloadable
ARIEC60870-test-resultsartifact.
A release should not be promoted from beta to stable until:
- source build passes;
- dependency-free protocol smoke tests pass;
- all xUnit regression suites pass;
- portable/single-file package verification passes;
- at least one simulator/package run is recorded in the validation matrix;
- any real-device result is sanitized before being added to public docs.
High-priority regression areas are:
- FT1.2 frame parsing, checksum, ACK/NACK, and link-address width handling;
- IEC-103 Type 1 / Type 5 / Type 8 / Type 9 / private ASDU behavior;
- IEC-101/104 Type ID, COT, CA, IOA, SQ, quality, and command encoding;
- IEC-104 I/S/U APDU parser behavior;
- GI lifecycle evidence and missing-GI-END findings;
- report privacy and Markdown table escaping;
.arieccapture row JSON compatibility;- repository release workflow and architecture guardrails.
ARIEC60870.Desktop.Tests includes a native PDF evidence report smoke test. It verifies that the desktop report engine can generate a real %PDF file from sanitized evidence rows, preventing regressions back to legacy conversion report export.