[AZ-233] Update Docker Compose and enhance test documentation

- Modified the Docker Compose configuration to include an input root for replay tests and added an environment variable for enabling SITL.
- Enhanced documentation for various testing processes, including the addition of a Runtime Completeness Decomposition Gate and clarifications on internal module testing requirements.
- Updated the implementation completeness report to reflect the current state and added new test cases for performance and resilience scenarios.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-06 05:03:48 +03:00
parent 2485763d09
commit cab7b5d020
20 changed files with 265 additions and 41 deletions
+19
View File
@@ -57,6 +57,9 @@ def test_runner_executes_all_required_groups_and_writes_reports(tmp_path: Path)
assert rows
assert rows[0].keys() == set(REPORT_COLUMNS)
assert {row["Result"] for row in rows} <= {"pass", "blocked"}
security_row = next(row for row in rows if row["Test ID"] == "NFT-SEC-INFRA")
assert security_row["Result"] == "pass"
assert security_row["Source Label"] == "untrusted_cache_rejected"
markdown = result.markdown_path.read_text(encoding="utf-8")
assert "FDR Validation Summary" in markdown
@@ -64,6 +67,22 @@ def test_runner_executes_all_required_groups_and_writes_reports(tmp_path: Path)
assert "Jetson prerequisite blocked" in markdown
def test_runner_uses_configurable_input_root_for_replay_fixtures(tmp_path: Path) -> None:
# Arrange
input_root = tmp_path / "input"
(input_root / "expected_results").mkdir(parents=True)
(input_root / "coordinates.csv").write_text("image,lat,lon\nAD000001.jpg,48.0,37.0\n")
(input_root / "expected_results" / "results_report.md").write_text("# Expected results\n")
# Act
result = BlackboxReplayRunner(output_root=tmp_path / "output", input_root=input_root).run()
# Assert
reports_by_id = {report.scenario_id: report for report in result.reports}
assert reports_by_id["FT-P-01"].result == ScenarioResult.PASS
assert reports_by_id["NFT-PERF-INFRA"].result == ScenarioResult.PASS
def test_runner_keeps_generated_artifacts_run_scoped(tmp_path: Path) -> None:
# Act
result = BlackboxReplayRunner(output_root=tmp_path).run()