Closed mdadighat closed 1 month ago
Coverage Report
File Stmts Miss Cover Missing src/api config.py 29 11 62% 39–46, 70–81 satchecker.py 1 1 0% 1 src/api/adapters/repositories satellite_repository.py 54 4 93% 29, 33, 37, 41 tle_repository.py 80 5 94% 67, 73, 82, 91, 95 src/api/domain/models tle.py 19 1 95% 52 src/api/entrypoints extensions.py 10 1 90% 30 src/api/entrypoints/v1/routes ephemeris_routes.py 103 8 92% 172–173, 258–259, 347–348, 426–427 routes.py 37 10 73% 21, 62, 91, 113–125 tools_routes.py 49 6 88% 50–52, 87–89 src/api/services validation_service.py 112 12 89% 138, 158, 161–168, 171–178, 259–260 src/api/services/tasks development_tasks.py 23 23 0% 1–148 ephemeris_tasks.py 35 12 66% 55–73, 140, 161–164 src/api/utils coordinate_systems.py 92 35 62% 27–38, 58–73, 89–101, 120–134, 156–177, 217–221, 326–330 propagation_strategies.py 73 1 99% 99 TOTAL 896 130 85%
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
80 | 0 :zzz: | 0 :x: | 0 :fire: | 16.913s :stopwatch: |
The previous architecture was increasingly difficult to test and add new features to effectively, so this pull request contains all the changes to move to a repository pattern, with the ephemeris and tools endpoints split out (and with separate supporting services). This also adds additional unit testing and documentation, and should make it simpler to make the changes needed to add features for the field of view service.