test_customization.ps1
|
# Quick test script for customization features # Run this to test the new customization commands Write-Host "`n=== Testing PowerShellPet Customization ===" -ForegroundColor Cyan # Import the module Import-Module .\PowerShellPet.psm1 -Force Write-Host "`n1. Testing Get-PetConfig (initial state)..." -ForegroundColor Yellow Get-PetConfig Write-Host "`n2. Testing Set-PetName..." -ForegroundColor Yellow Set-PetName "Princess Fluffybutt" Write-Host "`n3. Testing Set-PetSassLevel..." -ForegroundColor Yellow Set-PetSassLevel High Write-Host "`n4. Testing Set-PetMessageFrequency..." -ForegroundColor Yellow Set-PetMessageFrequency 25 Write-Host "`n5. Testing Set-PetEmoji..." -ForegroundColor Yellow Set-PetEmoji "😺" Write-Host "`n6. Testing Get-PetConfig (after changes)..." -ForegroundColor Yellow Get-PetConfig Write-Host "`n7. Testing Show-PetStatus..." -ForegroundColor Yellow Show-PetStatus Write-Host "`n8. Testing Reset-PetConfig..." -ForegroundColor Yellow Reset-PetConfig -Force Write-Host "`n9. Testing Get-PetConfig (after reset)..." -ForegroundColor Yellow Get-PetConfig Write-Host "`n=== All tests completed! ===" -ForegroundColor Green Write-Host "Check the output above to verify everything works correctly." -ForegroundColor White |