~mil/mobroute-tickets#32: 
Mobroute: GTFS Unit-Tests

Tracking issue for completion of unit tests for GTFS spec - milestone 4:

TODO:

  • Add unit tests & logic for routes.txt route_short_name / route_long_name handling; 1+ must be present
  • Add unit tests & logic for multiple agencies (multiple agency_id in agency.txt) & handle routes' route_id / agency_id unique combination
  • Add unit tests & logic for stoptimes crossing boundaries of days (e.g. stoptime with departure/arrival time > 24:00:00) (#42)
  • Add unit tests & logic for stoptimes timezone based on agency (agency_timezone), stops (stop_timezone), and inheritance from parent stop (stop_timezone)
  • Add unit tests & logic for stops.txt handling where stop_lat/stop_lon undefined (location_type=3 or location_type=4)

Done:

  • Add unit tests to ensure all cases work: calendar_dates.txt/no calendar.txt, calendar.txt/no calendar_dates.txt, both calendar_dates.txt/calendar.txt provided
Status
REPORTED
Submitter
~mil
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
high-priority m4:tests mobroute release:0.5