Test Map
Last reviewed: 2026-07-05
| Test file | Status | Coverage |
|---|---|---|
tests/unit/test_scaffold.py |
Implemented | Package boundaries and project script metadata. |
tests/unit/test_config.py |
Implemented | Config path resolution, validation, simulator consistency, acquisition mode. |
tests/unit/test_operations.py |
Implemented | Localhost defaults, secret config rejection, log pruning, NSSM output. |
tests/unit/test_security.py |
Implemented | Secret, Authorization, cookie, and signed URL redaction. |
tests/unit/test_workspace.py |
Implemented | Worker/job workspace layout and path safety. |
tests/unit/test_job_preparation.py |
Implemented | Checksums, asset download behavior, auth headers, config rewriting, manifest. |
tests/unit/test_content_server.py |
Implemented | Content routes, MIME types, path traversal rejection, no directory listing. |
tests/unit/test_webapp_models_and_client.py |
Implemented | Model validation, endpoint maps, request construction, error health, signed upload confirm payload. |
tests/unit/test_manual_claim.py |
Implemented | Manual/hybrid mode guardrails, busy worker behavior, dashboard error mapping, start health snapshot. |
tests/unit/test_dashboard.py |
Implemented/Partial | Dashboard auth, status payload, job actions, Unity controls, logs, simulator state, monitor behavior. |
tests/unit/test_simulator.py |
Implemented/Partial | Scenario loading/state behavior. |
tests/integration/test_simulator_app.py |
Implemented/Partial | HTTP simulator claim/status/upload/complete, conflicts, assets, dashboard simulator routes. |
tests/unit/test_unity_protocol.py |
Implemented | Protocol envelope validation and event command decoding. |
tests/integration/test_unity_zmq_client.py |
Implemented | Fake Unity REQ/REP and PUSH/PULL flow, message logging, timeout, helpers. |
tests/unit/test_unity_process_and_supervisor.py |
Implemented/Partial | Unity command line, process/supervisor state, timeouts/restarts. |
tests/unit/test_output_and_completion.py |
Implemented | Output validation, completion, Unity lifecycle, upload failure, diagnostics, cancellation. |
tests/unit/test_health.py |
Implemented | Health snapshots and GPU unavailable behavior. |
Known Coverage Gaps
| Gap | Status |
|---|---|
| Real Unity Editor/EXE end-to-end render | External/Unknown |
Real Web App /api/worker/v1 integration |
External/Unknown |
| Real signed S3 upload against Web App-issued URL | External/Unknown |
| Continuous auto worker loop | Stubbed |
| Windows NSSM/session behavior | External/Unknown |
| Built-in scenario coverage for every requirement scenario | Partial |
Core doc: TestingAndVerification.