Refactor code structure for improved readability and maintainability; optimize performance in key functions.

This commit is contained in:
master
2025-12-22 19:06:31 +02:00
parent dfaa2079aa
commit 4602ccc3a3
1444 changed files with 109919 additions and 8058 deletions

View File

@@ -0,0 +1,22 @@
# Concelier Merge Tests
This project verifies distro version comparison logic and merge rules.
## Layout
- Comparer unit tests: `*.Tests.cs` in 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`