mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-21 08:41:13 +00:00
b0fffa6d42
Phase A baseline outputs from /autodev (Steps 1-5): - Problem & solution docs (_docs/00_problem, _docs/01_solution) - Codebase documentation (_docs/02_document) incl. architecture, module-layout, glossary, system-flows, baseline compliance scan - Test specs (blackbox, performance, resilience, security, resource, traceability matrix) - Test task decomposition (_docs/02_tasks/todo): AZ-285..AZ-290 - Testability refactor (_docs/04_refactoring/01-testability-refactoring): - TC-01 Move DownloadedTileInfoV2 + new ExistingTileInfo to Common.DTO - TC-02 Replace dead ISatelliteDownloader API with real signatures - TC-03 GoogleMapsDownloaderV2 implements ISatelliteDownloader - TC-04 TileService depends on ISatelliteDownloader (mockable) - TC-05 DI + endpoints use ISatelliteDownloader - Test runner scripts (scripts/run-tests.sh, run-performance-tests.sh) - Autodev state pointer (_docs/_autodev_state.md) Prepares the codebase for AZ-285..AZ-290 unit/integration test work. Co-authored-by: Cursor <cursoragent@cursor.com>
980 B
980 B
Unit Tests: RegionService
Task: AZ-287_region_service_tests Name: Unit tests: RegionService (request, process, stitch) Complexity: 3 points Dependencies: AZ-285 Component: Blackbox Tests Tracker: AZ-287 Epic: AZ-284
Scenarios
- BT-03: Region 200m zoom 18 — verify request queuing and status="completed" after processing
- BT-04: Region 400m zoom 17 — same flow, different parameters
- BT-05: Region 500m zoom 18 with stitching — verify stitched image path is set
Test Data
Coordinates: lat=47.461747, lon=37.647063. Sizes: 200m, 400m, 500m.
Expected Results
Per results_report.md: status="completed", csvFilePath non-empty, summaryFilePath non-empty
Acceptance Criteria
AC-1: RegionService.RequestRegionAsync creates entity and queues request AC-2: RegionService.ProcessRegionAsync transitions status pending→processing→completed AC-3: CSV and summary files are generated AC-4: Stitch path is set when stitchTiles=true