diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-23 07:49:11 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-23 07:49:11 +0200 |
| commit | df8b13739eea6a763d9e3e1bdbf92fa0ffb95296 (patch) | |
| tree | d8a2064f530d5fc998055cd05de6076ae59e2e92 /internal/askcli/command_write_test.go | |
| parent | 778ea7ccdd84425944dda9b717de4ca330c5d0fc (diff) | |
integrationtests: complete ask coverage, fix weak assertions
- TestAnnotate: now verifies annotation text appears in ask info output
- TestDenotate: now verifies annotation is absent after removal
- TestMain: always rebuilds binary (not only when missing)
- Add TestAddReturnsUUID: asserts output matches UUID regex, never numeric
- Add TestHelp: verifies ask help exits 0 and lists all subcommands
- Add TestUnknownCommand: verifies unknown subcommand exits non-zero
- Remove unnecessary runAskWithStdin calls for commands that don't
forward stdin to taskwarrior (start, stop, priority, tag, modify,
annotate, dep add/rm); only delete actually needs stdin forwarding
- Add getTaskInfoRaw helper for full info text assertions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/askcli/command_write_test.go')
0 files changed, 0 insertions, 0 deletions
