PSMinIO Developer
|
ab7c2bbde2
|
Fix test script parameter names to match actual cmdlet implementations
� PARAMETER NAME FIXES:
✅ CORRECTED CMDLET PARAMETERS:
• New-MinIOObjectMultipart: -Files → -FilePath
• Get-MinIOObjectContent: -ObjectKey → -ObjectName, -FilePath → -LocalPath
• Get-MinIOObjectContentMultipart: -ObjectKey → -ObjectName, -FilePath → -DestinationPath
• Get-MinIOPresignedUrl: -ObjectKey → -ObjectName
� UPDATED BOTH TEST SCRIPTS:
• Test-PSMinIOIndividual.ps1 - Manual testing commands
• Test-PSMinIOComprehensive.ps1 - Automated test suite
• Fixed all parameter mismatches based on actual cmdlet implementations
� PARAMETER MAPPING:
• ObjectKey/Key → ObjectName (consistent across all cmdlets)
• Files → FilePath (for multipart upload)
• FilePath → LocalPath (for single download)
• FilePath → DestinationPath (for multipart download)
Now test scripts use correct parameter names matching the actual PSMinIO cmdlet implementations!
|
2025-07-14 17:28:36 -04:00 |
|
PSMinIO Developer
|
b1adfa6328
|
Add comprehensive PSMinIO test scripts
✅ COMPREHENSIVE TEST SUITE:
� TEST SCRIPTS CREATED:
• Test-PSMinIOComprehensive.ps1 - Automated full test suite
• Test-PSMinIOIndividual.ps1 - Individual commands for manual testing
• Both scripts use proper PowerShell practices (no Write-Host)
• Configured for Grace Solution S3 instance testing
� TEST COVERAGE:
• Connection establishment and authentication
• Bucket operations (list, create, exists check)
• Single file upload/download operations
• Multipart upload/download operations
• Object listing and metadata retrieval
• Presigned URL generation
• File integrity verification
• Comprehensive error handling
� TEST FEATURES:
• Creates test files of varying sizes (small, medium, large)
• Tests both single-part and multipart operations
• Verifies downloaded file integrity
• Provides detailed test results and metrics
• Includes cleanup instructions
• Uses Write-Verbose and Write-Output (no Write-Host)
� USAGE:
Comprehensive: .\scripts\Test-PSMinIOComprehensive.ps1 -Verbose
Individual: Copy commands from Test-PSMinIOIndividual.ps1
Ready for comprehensive PSMinIO functionality testing!
|
2025-07-14 17:21:43 -04:00 |
|