PowerShell / Microsoft.PowerShell.Archive

Archive PowerShell module contains cmdlets for working with ZIP archives
https://technet.microsoft.com/en-us/library/dn818910.aspx
MIT License
94 stars 37 forks source link

Compress-Archive Tests #128

Closed ayousuf23 closed 2 years ago

ayousuf23 commented 2 years ago

This is a mega-issue that divides the tests to be added to Compress-Archive. This list is not complete, and more tests will be added over time.

[x] indicates the test has been added to Compress-Archive.Tests.ps1. [ ] indices the test has not yet been added.

All tests will be written in Pester 5. Old tests will be updated.

Parameter set validation tests

Can't be tested:

-DestinationPath and -WriteMode Overwrite Tests

-Action tests

Not needed:

Special and Wildcard Characters

Basic functional tests

Zip-specific tests

-PassThru parameter

-Update parameter

Notes:

-CompressionLevel parameter

File permissions, locked files, hidden files, symbolic links, etc.

Pipelining

Archive formats and -Format parameter

Path Structure Preservation Tests