You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
ADDED Requirements
Requirement: Dry-run shows packages to install without making changes
In dry-run mode, the system SHALL compute what WOULD happen without executing any pacman operations.
Scenario: Dry-run lists packages to install
- WHEN dry-run is enabled and packages need to be installed
- THEN the system SHALL populate
Result.ToInstallwith all packages that would be installed (both sync and AUR)
Scenario: Dry-run lists packages to remove
- WHEN dry-run is enabled and orphan packages exist
- THEN the system SHALL populate
Result.ToRemovewith the list of orphan packages andResult.Removedwith the count
Scenario: Dry-run skips pacman sync
- WHEN dry-run is enabled
- THEN the system SHALL NOT execute
pacman -Syufor package installation
Scenario: Dry-run skips explicit/deps marking
- WHEN dry-run is enabled
- THEN the system SHALL NOT execute
pacman -D --asdepsorpacman -D --asexplicit
Scenario: Dry-run skips orphan cleanup
- WHEN dry-run is enabled
- THEN the system SHALL NOT execute
pacman -Rnsfor orphan removal
Scenario: Dry-run outputs count summary
- WHEN dry-run is enabled
- THEN the system SHALL still compute and output
Result.InstalledandResult.Removedcounts as if the operations had run