Tests for CLI dispatch #168

Open
opened 2026-10-07 12:04:31 +00:00 by aniram · 0 comments
Owner

Test run(args) with a fake app/syncer (an interface over the methods the commands call) and verify:

Unknown command returns an error.
--year and --leg parsing and defaults are correct.
session without --filename fails.
Each command calls the expected syncer method.

This is the safety net that the old flag chain never had.

Test run(args) with a fake app/syncer (an interface over the methods the commands call) and verify: Unknown command returns an error. --year and --leg parsing and defaults are correct. session without --filename fails. Each command calls the expected syncer method. This is the safety net that the old flag chain never had.
aniram added this to the 2027.1 milestone 2026-10-07 12:04:31 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
overdrives/chambersbr#168
No description provided.