feature: CLI snapshot tests #80

Closed
opened 2026-02-15 03:17:57 -06:00 by noe.trevino · 0 comments
Owner

Did you check the docs?

  • I have read all the paso docs

Prevent regressions on the cli output

Sometimes you can make changes and break other parts of the code

Describe the solution you'd like

Tests fail CI if changes to the output was caught without updating golden files

Acceptance Criteria

  • Tests must cover ALL cli commands
  • Must be able to do something like export UPDATE_SLI_SNAPSHOTS=1 go test ./...
    something like that

Describe alternatives/other solutions you've considered

No response

Additional context

No response

### Did you check the docs? - [x] I have read all the paso docs ### Is your feature request related to a problem? Please describe. Prevent regressions on the cli output Sometimes you can make changes and break other parts of the code ### Describe the solution you'd like Tests fail CI if changes to the output was caught without updating golden files ### Acceptance Criteria - Tests must cover ALL cli commands - Must be able to do something like `export UPDATE_SLI_SNAPSHOTS=1 go test ./...` something like that ### Describe alternatives/other solutions you've considered _No response_ ### Additional context _No response_
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
noe.trevino/paso#80
No description provided.