-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
testIssues related to tests, test coverage, or test infrastructureIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLITest case related to the CLI
Description
Description
Verifies that the synk data export command handles the edge case of a server with zero observations gracefully, without crashing or producing a corrupt file.
Steps
- Ensure you are logged in: run
synk loginwith valid admin credentials - Confirm the server has zero observations (fresh server or wiped database)
- Run
synk data export exports.zip - Observe the output and exit behaviour
Expected Result
The command either returns a clear message stating there is no data to export, or produces an empty ZIP file. The command must NOT crash, panic, or produce an unreadable file. Exit code should be 0 for empty export or a non-zero code with a clear explanation.
Actual Result
(To be filled during testing)
Priority
Medium
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testIssues related to tests, test coverage, or test infrastructureIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLITest case related to the CLI
Type
Projects
Status
To Test