- Implemented comprehensive tests for verdict artifact generation to ensure deterministic outputs across various scenarios, including identical inputs, parallel execution, and change ordering. - Created helper methods for generating sample verdict inputs and computing canonical hashes. - Added tests to validate the stability of canonical hashes, proof spine ordering, and summary statistics. - Introduced a new PowerShell script to update SHA256 sums for files, ensuring accurate hash generation and file integrity checks.
Concelier Merge Tests
This project verifies distro version comparison logic and merge rules.
Layout
- Comparer unit tests:
*.Tests.csin this project (RPM, Debian, APK). - Golden fixtures:
Fixtures/Golden/*.golden.ndjson. - Integration cross-checks:
src/Concelier/__Tests/StellaOps.Concelier.Integration.Tests.
Golden files
Golden files capture pairwise comparison results in NDJSON.
See Fixtures/Golden/README.md for format and regeneration steps.
Integration tests
Cross-check tests compare container-installed versions against fixed versions using the same comparers. They require Docker/Testcontainers.
Enable with:
$env:STELLAOPS_INTEGRATION_TESTS = "true"
Run (from repo root):
dotnet test src/Concelier/__Tests/StellaOps.Concelier.Integration.Tests/StellaOps.Concelier.Integration.Tests.csproj